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