Class EmptiedRecycleBinNotification<T>
Abstract base class for notifications published after the recycle bin has been emptied.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public abstract class EmptiedRecycleBinNotification<T> : StatefulNotification, IStatefulNotification, INotification where T : class
Type Parameters
| Name | Description |
|---|---|
| T | The type of entities that were in the recycle bin. |
Remarks
This notification is published after the entities have been permanently deleted. It is not cancelable since the empty operation has already completed.
Constructors
View SourceEmptiedRecycleBinNotification(IEnumerable<T>, EventMessages)
Initializes a new instance of the EmptiedRecycleBinNotification<T> class.
Declaration
protected EmptiedRecycleBinNotification(IEnumerable<T> deletedEntities, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | deletedEntities | The collection of entities that were permanently deleted. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceDeletedEntities
Gets the collection of entities that were permanently deleted from the recycle bin.
Declaration
public IEnumerable<T> DeletedEntities { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<T> |
Messages
Gets the event messages collection associated with this notification.
Declaration
public EventMessages Messages { get; }
Property Value
| Type | Description |
|---|---|
| EventMessages |