Class ContentMovedNotification
A notification that is used to trigger the IContentService when the Move method is called in the API. The notification is published and called after the content object has been moved. NOTE: If the target parent is the Recycle bin, this notification is never published. Try the ContentMovedToRecycleBinNotification instead.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentMovedNotification : MovedNotification<IContent>, IStatefulNotification, INotification
Constructors
View SourceContentMovedNotification(IEnumerable<MoveEventInfo<IContent>>, EventMessages)
Declaration
public ContentMovedNotification(IEnumerable<MoveEventInfo<IContent>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<MoveEventInfo<IContent>> | target | |
EventMessages | messages |
ContentMovedNotification(MoveEventInfo<IContent>, EventMessages)
Declaration
public ContentMovedNotification(MoveEventInfo<IContent> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
MoveEventInfo<IContent> | target | |
EventMessages | messages |