Search Results for

    Show / Hide Table of Contents
    View Source

    Class MovedNotification<T>

    Abstract base class for notifications published after entities have been moved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<MoveEventInfo<T>>>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class MovedNotification<T> : ObjectNotification<IEnumerable<MoveEventInfo<T>>>, IStatefulNotification, INotification
    Type Parameters
    Name Description
    T

    The type of entities that were moved.

    Remarks

    This notification is published after the entities have been moved to their new location. It is not cancelable since the move operation has already completed.

    Constructors

    View Source

    MovedNotification(IEnumerable<MoveEventInfo<T>>, EventMessages)

    Initializes a new instance of the MovedNotification<T> class with multiple move operations.

    Declaration
    protected MovedNotification(IEnumerable<MoveEventInfo<T>> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<MoveEventInfo<T>> target

    The collection of move information for entities that were moved.

    EventMessages messages

    The event messages collection.

    View Source

    MovedNotification(MoveEventInfo<T>, EventMessages)

    Initializes a new instance of the MovedNotification<T> class with a single move operation.

    Declaration
    protected MovedNotification(MoveEventInfo<T> target, EventMessages messages)
    Parameters
    Type Name Description
    MoveEventInfo<T> target

    The move information for the entity that was moved.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    MoveInfoCollection

    Gets an enumeration of MoveEventInfo<TEntity> with the moved entities.

    Declaration
    public IEnumerable<MoveEventInfo<T>> MoveInfoCollection { get; }
    Property Value
    Type Description
    IEnumerable<MoveEventInfo<T>>
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX