Class MediaMovingToRecycleBinNotification
A notification that is used to trigger the IMediaService when the MoveToRecycleBin method is called in the API.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class MediaMovingToRecycleBinNotification : MovingToRecycleBinNotification<IMedia>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceMediaMovingToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<IMedia>>, EventMessages)
Declaration
public MediaMovingToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<IMedia>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<MoveToRecycleBinEventInfo<IMedia>> | target | |
EventMessages | messages |
MediaMovingToRecycleBinNotification(MoveToRecycleBinEventInfo<IMedia>, EventMessages)
Declaration
public MediaMovingToRecycleBinNotification(MoveToRecycleBinEventInfo<IMedia> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
MoveToRecycleBinEventInfo<IMedia> | target | |
EventMessages | messages |