Class ContentSavingNotification
A notification that is used to trigger the IContentService when the Save method is called in the API.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentSavingNotification : SavingNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceContentSavingNotification(IEnumerable<IContent>, EventMessages)
Gets a enumeration of IContent.
Declaration
public ContentSavingNotification(IEnumerable<IContent> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IContent> | target | |
EventMessages | messages |
ContentSavingNotification(IContent, EventMessages)
Initializes a new instance of the ContentSavingNotification
Declaration
public ContentSavingNotification(IContent target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IContent | target | |
EventMessages | messages |