Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentPublishedNotification

    A notification that is used to trigger the IContentService when the Publish method is called in the API and after data has been published. Called after content has been published.

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

    Constructors

    View Source

    ContentPublishedNotification(IEnumerable<IContent>, EventMessages)

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

    ContentPublishedNotification(IEnumerable<IContent>, EventMessages, Boolean)

    Declaration
    public ContentPublishedNotification(IEnumerable<IContent> target, EventMessages messages, bool includeDescendants)
    Parameters
    Type Name Description
    IEnumerable<IContent> target
    EventMessages messages
    System.Boolean includeDescendants
    View Source

    ContentPublishedNotification(IContent, EventMessages)

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

    Properties

    View Source

    IncludeDescendants

    Declaration
    public bool IncludeDescendants { get; }
    Property Value
    Type Description
    System.Boolean
    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
      • ContentPublishedNotification(IEnumerable<IContent>, EventMessages)
      • ContentPublishedNotification(IEnumerable<IContent>, EventMessages, Boolean)
      • ContentPublishedNotification(IContent, EventMessages)
    • Properties
      • IncludeDescendants
      • PublishedEntities
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX