Class ContentMovedToRecycleBinNotification
A notification that is used to trigger the IContentService when the MoveToRecycleBin method is called in the API. Is published after the content has been moved to the Recycle Bin.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentMovedToRecycleBinNotification : MovedToRecycleBinNotification<IContent>, IStatefulNotification, INotification
Constructors
View SourceContentMovedToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<IContent>>, EventMessages)
Declaration
public ContentMovedToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<IContent>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<MoveToRecycleBinEventInfo<IContent>> | target | |
EventMessages | messages |
ContentMovedToRecycleBinNotification(MoveToRecycleBinEventInfo<IContent>, EventMessages)
Declaration
public ContentMovedToRecycleBinNotification(MoveToRecycleBinEventInfo<IContent> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
MoveToRecycleBinEventInfo<IContent> | target | |
EventMessages | messages |