Class ContentDeletingNotification
A notification that is used to trigger the IContentService when the DeleteContentOfType, Delete and EmptyRecycleBin methods are called in the API.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentDeletingNotification : DeletingNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceContentDeletingNotification(IEnumerable<IContent>, EventMessages)
Declaration
public ContentDeletingNotification(IEnumerable<IContent> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IContent> | target | |
EventMessages | messages |
ContentDeletingNotification(IContent, EventMessages)
Declaration
public ContentDeletingNotification(IContent target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IContent | target | |
EventMessages | messages |