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 Media
Declaration
public MediaTypeMovedNotification(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 |
MediaTypeMovedNotification(MoveEventInfo<IMediaType>, EventMessages)
Declaration
public MediaTypeMovedNotification(MoveEventInfo<IMediaType> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
Move |
target | |
Event |
messages |