Class DataTypeMovingNotification
A notification that is used to trigger the DataTypeService when the Move method is called in the API.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class DataTypeMovingNotification : MovingNotification<IDataType>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the move operation
by setting Cancel to true.
Constructors
View SourceDataTypeMovingNotification(MoveEventInfo<IDataType>, EventMessages)
Initializes a new instance of the DataTypeMovingNotification class.
Declaration
public DataTypeMovingNotification(MoveEventInfo<IDataType> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveEventInfo<IDataType> | target | The move event information for the data type being moved. |
| EventMessages | messages | The event messages collection. |