Class ContentTypeMovedNotification
A notification that is used to trigger the ContentTypeService when the Move method is called in the API, after the entities have been moved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeMovedNotification : MovedNotification<IContentType>, IStatefulNotification, INotification
Constructors
View SourceContentTypeMovedNotification(IEnumerable<MoveEventInfo<IContentType>>, EventMessages)
Initializes a new instance of the ContentTypeMovedNotification class with multiple move operations.
Declaration
public ContentTypeMovedNotification(IEnumerable<MoveEventInfo<IContentType>> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<MoveEventInfo<IContentType>> | target | The move event information for the content types that were moved. |
| EventMessages | messages | The event messages collection. |
ContentTypeMovedNotification(MoveEventInfo<IContentType>, EventMessages)
Initializes a new instance of the ContentTypeMovedNotification class with a single move operation.
Declaration
public ContentTypeMovedNotification(MoveEventInfo<IContentType> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| MoveEventInfo<IContentType> | target | The move event information for the content type that was moved. |
| EventMessages | messages | The event messages collection. |