Class ContentSavedBlueprintNotification
A notification that is used to trigger the IContentService when the SavedBlueprint method is called in the API.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentSavedBlueprintNotification : ObjectNotification<IContent>, IStatefulNotification, INotification
Constructors
View SourceContentSavedBlueprintNotification(IContent, EventMessages)
Initializes a new instance of the ContentSavedBlueprintNotification class.
Declaration
public ContentSavedBlueprintNotification(IContent target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content blueprint that was saved. |
| EventMessages | messages | The event messages collection. |
ContentSavedBlueprintNotification(IContent, IContent?, EventMessages)
Initializes a new instance of the ContentSavedBlueprintNotification class with information about the original content.
Declaration
public ContentSavedBlueprintNotification(IContent target, IContent? createdFromContent, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content blueprint that was saved. |
| IContent | createdFromContent | The original content from which the blueprint was created, if any. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceCreatedFromContent
Gets the original content from which the blueprint was created, if any.
Declaration
public IContent? CreatedFromContent { get; }
Property Value
| Type | Description |
|---|---|
| IContent |
SavedBlueprint
Getting the saved blueprint IContent object.
Declaration
public IContent SavedBlueprint { get; }
Property Value
| Type | Description |
|---|---|
| IContent |