Search Results for

    Show / Hide Table of Contents
    View Source

    Class RollingBackNotification<T>

    Abstract base class for notifications published before an entity is rolled back to a previous version.

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

    The type of entity being rolled back.

    Remarks

    This notification is cancelable, allowing handlers to prevent the rollback operation. The notification is published before the entity is reverted to its previous state.

    Constructors

    View Source

    RollingBackNotification(T, EventMessages)

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

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

    The entity being rolled back.

    EventMessages messages

    The event messages collection.

    Properties

    View Source

    Entity

    Gets the entity being 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