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 MediaTypeSavedNotification.
Declaration
public MediaTypeSavedNotification(IEnumerable<IMediaType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IMediaType> | target | Gets the collection of saved IMediaType objects. |
EventMessages | messages | Initializes a new instance of the EventMessages. |
MediaTypeSavedNotification(IMediaType, EventMessages)
Declaration
public MediaTypeSavedNotification(IMediaType target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IMediaType | target | |
EventMessages | messages |