Class ContentEmptiedRecycleBinNotification
Notification that is published after the content recycle bin has been emptied.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentEmptiedRecycleBinNotification : EmptiedRecycleBinNotification<IContent>, IStatefulNotification, INotification
Remarks
This notification is published by the IContentService after the recycle bin has been emptied. It is not cancelable since the operation has already completed.
Constructors
View SourceContentEmptiedRecycleBinNotification(IEnumerable<IContent>, EventMessages)
Initializes a new instance of the ContentEmptiedRecycleBinNotification class.
Declaration
public ContentEmptiedRecycleBinNotification(IEnumerable<IContent> deletedEntities, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IContent> | deletedEntities | The collection of content items that were permanently deleted. |
| EventMessages | messages | The event messages collection. |