Class MediaDeletedNotification
A notification that is used to trigger the IMediaService when the Delete and EmptyRecycleBin methods are called in the API, after the media has been deleted.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class MediaDeletedNotification : DeletedNotification<IMedia>, IStatefulNotification, INotification
Constructors
View SourceMediaDeletedNotification(IMedia, EventMessages)
Declaration
public MediaDeletedNotification(IMedia target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IMedia | target | |
EventMessages | messages |