Class ScopedEntityRemoveNotification
Notification published when an entity is removed within a scope.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
[Obsolete("This is only used for the internal cache and will change, use tree change notifications instead")]
public class ScopedEntityRemoveNotification : ObjectNotification<IContentBase>, IStatefulNotification, INotification
Remarks
This notification is used internally for cache synchronization purposes. For normal entity operations, use tree change notifications instead.
Constructors
View SourceScopedEntityRemoveNotification(IContentBase, EventMessages)
Initializes a new instance of the ScopedEntityRemoveNotification class.
Declaration
public ScopedEntityRemoveNotification(IContentBase target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContentBase | target | The entity being removed. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceEntity
Gets the entity being removed.
Declaration
public IContentBase Entity { get; }
Property Value
| Type | Description |
|---|---|
| IContentBase |