Class DictionaryItemMovingNotification
Notification published before dictionary items are moved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class DictionaryItemMovingNotification : MovingNotification<IDictionaryItem>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the move operation
by setting Cancel to true.
Constructors
View SourceDictionaryItemMovingNotification(IEnumerable<MoveEventInfo<IDictionaryItem>>, EventMessages)
Initializes a new instance of the DictionaryItemMovingNotification class with multiple move operations.
Declaration
public DictionaryItemMovingNotification(IEnumerable<MoveEventInfo<IDictionaryItem>> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<MoveEventInfo<IDictionaryItem>> | target | Information about the dictionary items being moved. |
| EventMessages | messages | The event messages collection. |
DictionaryItemMovingNotification(MoveEventInfo<IDictionaryItem>, EventMessages)
Initializes a new instance of the DictionaryItemMovingNotification class with a single move operation.
Declaration
public DictionaryItemMovingNotification(MoveEventInfo<IDictionaryItem> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveEventInfo<IDictionaryItem> | target | Information about the dictionary item being moved. |
| EventMessages | messages | The event messages collection. |