Search Results for

    Show / Hide Table of Contents
    View Source

    Class MovedToRecycleBinNotification<T>

    Abstract base class for notifications published after entities have been moved to the recycle bin.

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

    The type of entities that were moved to the recycle bin.

    Remarks

    This notification is published after the entities have been moved to the recycle bin. It is not cancelable since the operation has already completed.

    Constructors

    View Source

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

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

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

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

    EventMessages messages

    The event messages collection.

    View Source

    MovedToRecycleBinNotification(MoveToRecycleBinEventInfo<T>, EventMessages)

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

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

    The move to recycle bin information for the entity that was moved.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    MoveInfoCollection

    Gets an enumeration of MoveToRecycleBinEventInfo<TEntity> with the entities that were 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