Class MediaTypeChangedNotification
A notification that is published when a MediaType is saved or deleted, after the transaction has completed. This is mainly used for caching purposes, and generally not recommended. Use MediaTypeSavedNotification and MediaTypeDeletedNotification instead.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MediaTypeChangedNotification : ContentTypeChangeNotification<IMediaType>, IStatefulNotification, INotification
Constructors
View SourceMediaTypeChangedNotification(IEnumerable<ContentTypeChange<IMediaType>>, EventMessages)
Declaration
public MediaTypeChangedNotification(IEnumerable<ContentTypeChange<IMediaType>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ContentTypeChange<IMediaType>> | target | |
EventMessages | messages |
MediaTypeChangedNotification(ContentTypeChange<IMediaType>, EventMessages)
Declaration
public MediaTypeChangedNotification(ContentTypeChange<IMediaType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeChange<IMediaType> | target | |
EventMessages | messages |