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