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