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)
Initializes a new instance of the ContentSentToPublishNotification class.
Declaration
public ContentSentToPublishNotification(IContent target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content that was sent to publish. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceEntity
Getting the IContent object being sent to publish.
Declaration
public IContent Entity { get; }
Property Value
| Type | Description |
|---|---|
| IContent |