Search Results for

    Show / Hide Table of Contents
    View Source

    Class RenamedNotification<T>

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

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

    The type of entity that was renamed.

    Remarks

    This notification is published after entities have been successfully renamed, allowing handlers to react for auditing or cache invalidation purposes.

    Constructors

    View Source

    RenamedNotification(IEnumerable<T>, EventMessages)

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

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

    The entities that were renamed.

    EventMessages messages

    The event messages collection.

    View Source

    RenamedNotification(T, EventMessages)

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

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

    The entity that was renamed.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    Entities

    Gets the entities that were 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