Class ContentRefreshNotification
Notification published when content needs to be refreshed in the cache.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
[Obsolete("This is only used for the internal cache and will change, use saved notifications instead")]
public class ContentRefreshNotification : EntityRefreshNotification<IContent>, IStatefulNotification, INotification
Remarks
This notification is used internally for cache synchronization purposes. For normal content operations, use ContentSavedNotification or ContentPublishedNotification instead.
Constructors
View SourceContentRefreshNotification(IContent, EventMessages)
Initializes a new instance of the ContentRefreshNotification class.
Declaration
public ContentRefreshNotification(IContent target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content item to refresh. |
| EventMessages | messages | The event messages collection. |