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
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
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
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