Search Results for

    Show / Hide Table of Contents
    View Source

    Class SendToPublishEventArgs<TEntity>

    Represents event data for send to publish operations.

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

    The type of the entity being sent to publish.

    Constructors

    View Source

    SendToPublishEventArgs(TEntity)

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

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

    The entity being sent to publish.

    View Source

    SendToPublishEventArgs(TEntity, bool)

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

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

    The entity being sent to publish.

    bool canCancel

    A value indicating whether the event can be cancelled.

    Properties

    View Source

    Entity

    The entity being sent to publish

    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