Search Results for

    Show / Hide Table of Contents
    View Source

    Class EmptiedRecycleBinNotification<T>

    Abstract base class for notifications published after the recycle bin has been emptied.

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

    The type of entities that were in the recycle bin.

    Remarks

    This notification is published after the entities have been permanently deleted. It is not cancelable since the empty operation has already completed.

    Constructors

    View Source

    EmptiedRecycleBinNotification(IEnumerable<T>, EventMessages)

    Initializes a new instance of the EmptiedRecycleBinNotification<T> class.

    Declaration
    protected EmptiedRecycleBinNotification(IEnumerable<T> deletedEntities, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<T> deletedEntities

    The collection of entities that were permanently deleted.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    DeletedEntities

    Gets the collection of entities that were permanently deleted from the recycle bin.

    Declaration
    public IEnumerable<T> DeletedEntities { get; }
    Property Value
    Type Description
    IEnumerable<T>
    View Source

    Messages

    Gets the event messages collection associated with this notification.

    Declaration
    public EventMessages Messages { get; }
    Property Value
    Type Description
    EventMessages
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX