Class MediaTypeMovedNotification
A notification that is used to trigger the IMediaTypeService when the Move method is called in the API, after the entities has been moved.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MediaTypeMovedNotification : MovedNotification<IMediaType>, IStatefulNotification, INotification
Constructors
View SourceMediaTypeMovedNotification(IEnumerable<MoveEventInfo<IMediaType>>, EventMessages)
Initializes a new instance of the MediaTypeMovedNotification.
Declaration
public MediaTypeMovedNotification(IEnumerable<MoveEventInfo<IMediaType>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<MoveEventInfo<IMediaType>> | target | Gets the IMediaType object being moved. |
EventMessages | messages | Initializes a new instance of the EventMessages. |
MediaTypeMovedNotification(MoveEventInfo<IMediaType>, EventMessages)
Declaration
public MediaTypeMovedNotification(MoveEventInfo<IMediaType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
MoveEventInfo<IMediaType> | target | |
EventMessages | messages |