Class ContentEmptyingRecycleBinNotification
A notification that is used to trigger the IContentService when the EmptyRecycleBin method is called in the API.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentEmptyingRecycleBinNotification : EmptyingRecycleBinNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceContentEmptyingRecycleBinNotification(Nullable<IEnumerable<IContent>>, EventMessages)
Initializes a new instance of the ContentEmptyingRecycleBinNotification
Declaration
public ContentEmptyingRecycleBinNotification(IEnumerable<IContent>? deletedEntities, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<IEnumerable<IContent>> | deletedEntities | The collection of IContent objects being deleted. |
EventMessages | messages | Initializes a new instance of the EventMessages. |