Class ContentSentToPublishNotification
A notification that is used to trigger the IContentService when the SendToPublication method is called in the API, after the entity has been sent to publication.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentSentToPublishNotification : ObjectNotification<IContent>, IStatefulNotification, INotification
Constructors
View SourceContentSentToPublishNotification(IContent, EventMessages)
Declaration
public ContentSentToPublishNotification(IContent target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IContent | target | |
EventMessages | messages |
Properties
View SourceEntity
Getting the IContent object being sent to publish.
Declaration
public IContent Entity { get; }
Property Value
Type | Description |
---|---|
IContent |