Search Results for

    Show / Hide Table of Contents
    View Source

    Class ElementUnpublishingNotification

    A notification that is used to trigger the IElementService when the UnPublishing method is called in the API.

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

    Constructors

    View Source

    ElementUnpublishingNotification(IEnumerable<IElement>, EventMessages)

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

    ElementUnpublishingNotification(IElement, EventMessages)

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

    Properties

    View Source

    UnpublishedEntities

    Gets a enumeration of IElement which are being unpublished.

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