Search Results for

    Show / Hide Table of Contents
    View Source

    Class MovingNotification<T>

    Abstract base class for notifications published before entities are moved.

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

    The type of entities being moved.

    Remarks

    This notification is cancelable, allowing handlers to prevent the move operation. The notification is published before the entities are moved to their new location.

    Constructors

    View Source

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

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

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

    The collection of move information for entities being moved.

    EventMessages messages

    The event messages collection.

    View Source

    MovingNotification(MoveEventInfo<T>, EventMessages)

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

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

    The move information for the entity being moved.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    MoveInfoCollection

    Gets an enumeration of MoveEventInfo<TEntity> with the moving 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