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