Class RelationDeletedNotification
A notification that is published when a relation has been deleted.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class RelationDeletedNotification : DeletedNotification<IRelation>, IStatefulNotification, INotification
Constructors
View SourceRelationDeletedNotification(IEnumerable<IRelation>, EventMessages)
Initializes a new instance of the RelationDeletedNotification.
Declaration
public RelationDeletedNotification(IEnumerable<IRelation> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRelation> | target | Gets the collection of IRelation objects having been deleted. |
EventMessages | messages | Initializes a new instance of the EventMessages. |
RelationDeletedNotification(IRelation, EventMessages)
Declaration
public RelationDeletedNotification(IRelation target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IRelation | target | |
EventMessages | messages |