Search Results for

    Show / Hide Table of Contents
    View Source

    Class RollbackEventArgs<TEntity>

    Represents event data for rollback operations.

    Inheritance
    object
    EventArgs
    CancellableEventArgs
    CancellableObjectEventArgs
    CancellableObjectEventArgs<TEntity>
    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class RollbackEventArgs<TEntity> : CancellableObjectEventArgs<TEntity>
    Type Parameters
    Name Description
    TEntity

    The type of the entity being rolled back.

    Constructors

    View Source

    RollbackEventArgs(TEntity)

    Initializes a new instance of the RollbackEventArgs<TEntity> class with cancellation enabled.

    Declaration
    public RollbackEventArgs(TEntity eventObject)
    Parameters
    Type Name Description
    TEntity eventObject

    The entity being rolled back.

    View Source

    RollbackEventArgs(TEntity, bool)

    Initializes a new instance of the RollbackEventArgs<TEntity> class.

    Declaration
    public RollbackEventArgs(TEntity eventObject, bool canCancel)
    Parameters
    Type Name Description
    TEntity eventObject

    The entity being rolled back.

    bool canCancel

    A value indicating whether the event can be cancelled.

    Properties

    View Source

    Entity

    The entity being rolledback

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