Search Results for

    Show / Hide Table of Contents
    View Source

    Class CreatedNotification<T>

    Abstract base class for notifications published after an entity has been created.

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

    The type of entity that was created.

    Remarks

    This notification is published after the entity has been persisted to the database. It is not cancelable since the creation has already completed.

    Constructors

    View Source

    CreatedNotification(T, EventMessages)

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

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

    The entity that was created.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    CreatedEntity

    Gets the entity that was created.

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