Class DataTypeDeletedNotification
Notification that is published after a data type has been deleted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class DataTypeDeletedNotification : DeletedNotification<IDataType>, IStatefulNotification, INotification
Remarks
This notification is published by the IDataTypeService after the data type has been removed. It is not cancelable since the delete operation has already completed.
Constructors
View SourceDataTypeDeletedNotification(IDataType, EventMessages)
Initializes a new instance of the DataTypeDeletedNotification class with a single data type.
Declaration
public DataTypeDeletedNotification(IDataType target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataType | target | The data type that was deleted. |
| EventMessages | messages | The event messages collection. |