Class MediaTypeDeletingNotification
A notification that is used to trigger the IMediaTypeService when the Delete method is called in the API.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MediaTypeDeletingNotification : DeletingNotification<IMediaType>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceMediaTypeDeletingNotification(IEnumerable<IMediaType>, EventMessages)
Initializes a new instance of the Media
Declaration
public MediaTypeDeletingNotification(IEnumerable<IMediaType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IMedia |
target | Gets the collection of IMedia |
Event |
messages | Initializes a new instance of the Event |
MediaTypeDeletingNotification(IMediaType, EventMessages)
Declaration
public MediaTypeDeletingNotification(IMediaType target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IMedia |
target | |
Event |
messages |