Class ContentTypeSavedNotification
Notification that is published after a content type has been saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeSavedNotification : SavedNotification<IContentType>, IStatefulNotification, INotification
Remarks
This notification is published by the IContentTypeService after the content type has been persisted. It is not cancelable since the save operation has already completed.
Constructors
View SourceContentTypeSavedNotification(IEnumerable<IContentType>, EventMessages)
Initializes a new instance of the ContentTypeSavedNotification class with multiple content types.
Declaration
public ContentTypeSavedNotification(IEnumerable<IContentType> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IContentType> | target | The collection of content types that were saved. |
| EventMessages | messages | The event messages collection. |
ContentTypeSavedNotification(IContentType, EventMessages)
Initializes a new instance of the ContentTypeSavedNotification class with a single content type.
Declaration
public ContentTypeSavedNotification(IContentType target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContentType | target | The content type that was saved. |
| EventMessages | messages | The event messages collection. |