Class MediaTypeDeletedNotification
A notification that is used to trigger the IMediaTypeService when the Delete method is called in the API, after the entities has been deleted.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MediaTypeDeletedNotification : DeletedNotification<IMediaType>, IStatefulNotification, INotification
Constructors
View SourceMediaTypeDeletedNotification(IEnumerable<IMediaType>, EventMessages)
Initializes a new instance of the MediaTypeDeletedNotification.
Declaration
public MediaTypeDeletedNotification(IEnumerable<IMediaType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IMediaType> | target | Gets the collection of deleted IMediaType objects. |
EventMessages | messages | Initializes a new instance of the EventMessages. |
MediaTypeDeletedNotification(IMediaType, EventMessages)
Declaration
public MediaTypeDeletedNotification(IMediaType target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IMediaType | target | |
EventMessages | messages |