Search Results for

    Show / Hide Table of Contents
    View Source

    Class SavedNotification<T>

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

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

    The type of entities that were saved.

    Remarks

    This notification is published after the entities have been persisted to the database. It is not cancelable since the save operation has already completed.

    Constructors

    View Source

    SavedNotification(IEnumerable<T>, EventMessages)

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

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

    The collection of entities that were saved.

    EventMessages messages

    The event messages collection.

    View Source

    SavedNotification(T, EventMessages)

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

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

    The entity that was saved.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    SavedEntities

    Gets the collection of entities that were saved.

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