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