Class MovedToRecycleBinNotification<T>
Abstract base class for notifications published after entities have been moved to the recycle bin.
Inheritance
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public abstract class MovedToRecycleBinNotification<T> : ObjectNotification<IEnumerable<MoveToRecycleBinEventInfo<T>>>, IStatefulNotification, INotification
Type Parameters
| Name | Description |
|---|---|
| T | The type of entities that were moved to the recycle bin. |
Remarks
This notification is published after the entities have been moved to the recycle bin. It is not cancelable since the operation has already completed.
Constructors
View SourceMovedToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<T>>, EventMessages)
Initializes a new instance of the MovedToRecycleBinNotification<T> class with multiple move operations.
Declaration
protected MovedToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<T>> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<MoveToRecycleBinEventInfo<T>> | target | The collection of move to recycle bin information for entities that were moved. |
| EventMessages | messages | The event messages collection. |
MovedToRecycleBinNotification(MoveToRecycleBinEventInfo<T>, EventMessages)
Initializes a new instance of the MovedToRecycleBinNotification<T> class with a single move operation.
Declaration
protected MovedToRecycleBinNotification(MoveToRecycleBinEventInfo<T> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveToRecycleBinEventInfo<T> | target | The move to recycle bin information for the entity that was moved. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceMoveInfoCollection
Gets an enumeration of MoveToRecycleBinEventInfo<TEntity> with the entities that were moved to the recycle bin.
Declaration
public IEnumerable<MoveToRecycleBinEventInfo<T>> MoveInfoCollection { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<MoveToRecycleBinEventInfo<T>> |