Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentPublishingNotification

    Called while publishing content but before content has been published. Cancel the operation to prevent the publish.

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IEnumerable<IContent>>
    CancelableObjectNotification<IEnumerable<IContent>>
    CancelableEnumerableObjectNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentPublishingNotification : CancelableEnumerableObjectNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    ContentPublishingNotification(IEnumerable<IContent>, EventMessages)

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

    ContentPublishingNotification(IContent, EventMessages)

    Declaration
    public ContentPublishingNotification(IContent target, EventMessages messages)
    Parameters
    Type Name Description
    IContent target
    EventMessages messages

    Properties

    View Source

    PublishedEntities

    Gets a enumeration of IContent which are being published.

    Declaration
    public IEnumerable<IContent> PublishedEntities { get; }
    Property Value
    Type Description
    IEnumerable<IContent>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentPublishingNotification(IEnumerable<IContent>, EventMessages)
      • ContentPublishingNotification(IContent, EventMessages)
    • Properties
      • PublishedEntities
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX