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 Media
Declaration
public MediaTypeMovingNotification(IEnumerable<MoveEventInfo<IMediaType>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Move |
target | Gets the IMedia |
Event |
messages | Initializes a new instance of the Event |
MediaTypeMovingNotification(MoveEventInfo<IMediaType>, EventMessages)
Declaration
public MediaTypeMovingNotification(MoveEventInfo<IMediaType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
Move |
target | |
Event |
messages |