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