Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeletedNotification<T>

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

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

    The type of entities that were deleted.

    Remarks

    This notification is published after the entities have been removed from the database. It is not cancelable since the delete operation has already completed.

    Constructors

    View Source

    DeletedNotification(IEnumerable<T>, EventMessages)

    Initializes a new instance of the DeletedNotification<T> class with multiple entities.

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

    The collection of entities that were deleted.

    EventMessages messages

    The event messages collection.

    View Source

    DeletedNotification(T, EventMessages)

    Initializes a new instance of the DeletedNotification<T> class with a single entity.

    Declaration
    protected DeletedNotification(T target, EventMessages messages)
    Parameters
    Type Name Description
    T target

    The entity that was deleted.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    DeletedEntities

    Gets the collection of entities that were deleted.

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