Search Results for

    Show / Hide Table of Contents
    View Source

    Class ScaffoldedNotification<T>

    Abstract base class for cancelable notifications published when entities are scaffolded (copied).

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

    The type of entity being scaffolded.

    Remarks

    This notification provides both the original entity and the scaffold (copy) being created.

    Constructors

    View Source

    ScaffoldedNotification(T, T, int, EventMessages)

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

    Declaration
    protected ScaffoldedNotification(T original, T scaffold, int parentId, EventMessages messages)
    Parameters
    Type Name Description
    T original

    The original entity being copied from.

    T scaffold

    The scaffold (copy) being created.

    int parentId

    The ID of the parent under which the scaffold will be created.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    Original

    Gets the original entity being copied from.

    Declaration
    public T Original { get; }
    Property Value
    Type Description
    T
    View Source

    ParentId

    Gets the ID of the parent under which the scaffold will be created.

    Declaration
    public int ParentId { get; }
    Property Value
    Type Description
    int
    View Source

    Scaffold

    Gets the scaffold (copy) being created.

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