Search Results for

    Show / Hide Table of Contents
    View Source

    Class ElementPublishingNotification

    A notification that is used to trigger the IElementService when the Publishing method is called in the API. Called while publishing an element but before the element has been published. Cancel the operation to prevent the publish.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IElement>>
    CancelableObjectNotification<IEnumerable<IElement>>
    CancelableEnumerableObjectNotification<IElement>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ElementPublishingNotification : CancelableEnumerableObjectNotification<IElement>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    ElementPublishingNotification(IEnumerable<IElement>, EventMessages)

    Declaration
    public ElementPublishingNotification(IEnumerable<IElement> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IElement> target
    EventMessages messages
    View Source

    ElementPublishingNotification(IElement, EventMessages)

    Declaration
    public ElementPublishingNotification(IElement target, EventMessages messages)
    Parameters
    Type Name Description
    IElement target
    EventMessages messages

    Properties

    View Source

    PublishedEntities

    Gets a enumeration of IElement which are being published.

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