Class MediaMovedToRecycleBinNotification
A notification that is used to trigger the IMediaService when the MoveToRecycleBin method is called in the API, after the media object has been moved to the RecycleBin.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class MediaMovedToRecycleBinNotification : MovedToRecycleBinNotification<IMedia>, IStatefulNotification, INotification
Constructors
View SourceMediaMovedToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<IMedia>>, EventMessages)
Declaration
public MediaMovedToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<IMedia>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Move |
target | |
Event |
messages |
MediaMovedToRecycleBinNotification(MoveToRecycleBinEventInfo<IMedia>, EventMessages)
Declaration
public MediaMovedToRecycleBinNotification(MoveToRecycleBinEventInfo<IMedia> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
Move |
target | |
Event |
messages |