Search Results for

    Show / Hide Table of Contents
    View Source

    Class RolledBackNotification<T>

    Abstract base class for notifications published after an entity has been rolled back to a previous version.

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

    The type of entity that was rolled back.

    Remarks

    This notification is published after the entity has been reverted to its previous state. It is not cancelable since the rollback operation has already completed.

    Constructors

    View Source

    RolledBackNotification(T, EventMessages)

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

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

    The entity that was rolled back.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    Entity

    Gets the entity that was rolled back.

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