Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentMovedNotification

    Notification that is published after content has been moved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<MoveEventInfo<IContent>>>
    MovedNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentMovedNotification : MovedNotification<IContent>, IStatefulNotification, INotification
    Remarks

    This notification is published by the IContentService after content has been moved. It is not cancelable since the move operation has already completed.

    NOTE: If the target parent is the recycle bin, this notification is never published. Use ContentMovedToRecycleBinNotification instead.

    Constructors

    View Source

    ContentMovedNotification(IEnumerable<MoveEventInfo<IContent>>, EventMessages)

    Initializes a new instance of the ContentMovedNotification class with multiple content items.

    Declaration
    public ContentMovedNotification(IEnumerable<MoveEventInfo<IContent>> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<MoveEventInfo<IContent>> target

    The collection of move information for content items that were moved.

    EventMessages messages

    The event messages collection.

    View Source

    ContentMovedNotification(MoveEventInfo<IContent>, EventMessages)

    Initializes a new instance of the ContentMovedNotification class with a single content item.

    Declaration
    public ContentMovedNotification(MoveEventInfo<IContent> target, EventMessages messages)
    Parameters
    Type Name Description
    MoveEventInfo<IContent> target

    The move information for the content item that was moved.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX