Class ContentSendingToPublishNotification
A notification that is used to trigger the IContentService when the SendToPublication method is called in the API.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentSendingToPublishNotification : CancelableObjectNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceContentSendingToPublishNotification(IContent, EventMessages)
Declaration
public ContentSendingToPublishNotification(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 |