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