Class ContentUnpublishedNotification
A notification that is used to trigger the IContentService when the UnPublish method is called in the API and after data has been unpublished.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentUnpublishedNotification : EnumerableObjectNotification<IContent>, IStatefulNotification, INotification
Constructors
View SourceContentUnpublishedNotification(IEnumerable<IContent>, EventMessages)
Declaration
public ContentUnpublishedNotification(IEnumerable<IContent> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IContent> | target | |
EventMessages | messages |
ContentUnpublishedNotification(IContent, EventMessages)
Declaration
public ContentUnpublishedNotification(IContent target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IContent | target | |
EventMessages | messages |
Properties
View SourceUnpublishedEntities
Gets a enumeration of IContent which are being unpublished.
Declaration
public IEnumerable<IContent> UnpublishedEntities { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IContent> |