Search Results for

    Show / Hide Table of Contents
    View Source

    Class MovingToRecycleBinNotification<T>

    Abstract base class for notifications published before entities are moved to the recycle bin.

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

    The type of entities being moved to the recycle bin.

    Remarks

    This notification is cancelable, allowing handlers to prevent the move to recycle bin operation. The notification is published before the entities are moved.

    Constructors

    View Source

    MovingToRecycleBinNotification(IEnumerable<MoveToRecycleBinEventInfo<T>>, EventMessages)

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

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

    The collection of move to recycle bin information for entities being moved.

    EventMessages messages

    The event messages collection.

    View Source

    MovingToRecycleBinNotification(MoveToRecycleBinEventInfo<T>, EventMessages)

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

    Declaration
    protected MovingToRecycleBinNotification(MoveToRecycleBinEventInfo<T> target, EventMessages messages)
    Parameters
    Type Name Description
    MoveToRecycleBinEventInfo<T> target

    The move to recycle bin information for the entity being moved.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    MoveInfoCollection

    Gets an enumeration of MoveToRecycleBinEventInfo<TEntity> with the entities being moved to the recycle bin.

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