Class ContentDeletedBlueprintNotification
A notification that is used to trigger the IContentService when the DeletedBlueprint method is called in the API.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentDeletedBlueprintNotification : EnumerableObjectNotification<IContent>, IStatefulNotification, INotification
Constructors
View SourceContentDeletedBlueprintNotification(IEnumerable<IContent>, EventMessages)
Initializes a new instance of the ContentDeletedBlueprintNotification class with multiple blueprints.
Declaration
public ContentDeletedBlueprintNotification(IEnumerable<IContent> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IContent> | target | The content blueprints that were deleted. |
| EventMessages | messages | The event messages collection. |
ContentDeletedBlueprintNotification(IContent, EventMessages)
Initializes a new instance of the ContentDeletedBlueprintNotification class with a single blueprint.
Declaration
public ContentDeletedBlueprintNotification(IContent target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content blueprint that was deleted. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceDeletedBlueprints
The collection of deleted blueprint IContent.
Declaration
public IEnumerable<IContent> DeletedBlueprints { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<IContent> |