Class ElementRefreshNotification
Notification published when an element 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 ElementRefreshNotification : EntityRefreshNotification<IElement>, IStatefulNotification, INotification
Remarks
This notification is used internally for cache synchronization purposes. For normal element operations, use ElementSavedNotification or ElementPublishedNotification instead.
Constructors
View SourceElementRefreshNotification(IElement, EventMessages)
Initializes a new instance of the ElementRefreshNotification class.
Declaration
public ElementRefreshNotification(IElement target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IElement | target | The element item to refresh. |
| EventMessages | messages | The event messages collection. |