Search Results for

    Show / Hide Table of Contents
    View Source

    Class RenamingNotification<T>

    Abstract base class for cancelable notifications published before entities are renamed.

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

    The type of entity being renamed.

    Remarks

    This notification is cancelable, allowing handlers to prevent the rename operation by setting Cancel to true.

    Constructors

    View Source

    RenamingNotification(IEnumerable<T>, EventMessages)

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

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

    The entities being renamed.

    EventMessages messages

    The event messages collection.

    View Source

    RenamingNotification(T, EventMessages)

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

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

    The entity being renamed.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    Entities

    Gets the entities being renamed.

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