Class RelationTypeDeletingNotification
A notification that is published when a relation type is being deleted.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class RelationTypeDeletingNotification : DeletingNotification<IRelationType>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceRelationTypeDeletingNotification(IEnumerable<IRelationType>, EventMessages)
Initializes a new instance of the RelationTypeDeletingNotification.
Declaration
public RelationTypeDeletingNotification(IEnumerable<IRelationType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRelationType> | target | Gets the collection of IRelationType objects being deleted. |
EventMessages | messages | Initializes a new instance of the EventMessages. |
RelationTypeDeletingNotification(IRelationType, EventMessages)
Declaration
public RelationTypeDeletingNotification(IRelationType target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IRelationType | target | |
EventMessages | messages |