Class EntityRefreshNotification<T>
Notification published when an entity needs to be refreshed in the cache.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class EntityRefreshNotification<T> : ObjectNotification<T>, IStatefulNotification, INotification where T : class, IContentBase
Type Parameters
| Name | Description |
|---|---|
| T | The type of content base entity being refreshed. |
Remarks
This notification is used internally for cache synchronization purposes.
Constructors
View SourceEntityRefreshNotification(T, EventMessages)
Initializes a new instance of the EntityRefreshNotification<T> class.
Declaration
public EntityRefreshNotification(T target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| T | target | The entity to refresh. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceEntity
Gets the entity that needs to be refreshed.
Declaration
public T Entity { get; }
Property Value
| Type | Description |
|---|---|
| T |