Class ContentTypeChangedNotification
A notification that is published when a ContentType is saved or deleted, after the transaction has completed. This is mainly used for caching purposes, and generally not recommended. Use ContentTypeSavedNotification and ContentTypeDeletedNotification instead.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeChangedNotification : ContentTypeChangeNotification<IContentType>, IStatefulNotification, INotification
Constructors
View SourceContentTypeChangedNotification(IEnumerable<ContentTypeChange<IContentType>>, EventMessages)
Initializes a new instance of the ContentTypeChangedNotification class with multiple content type changes.
Declaration
public ContentTypeChangedNotification(IEnumerable<ContentTypeChange<IContentType>> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ContentTypeChange<IContentType>> | target | The content type changes that occurred. |
| EventMessages | messages | The event messages collection. |
ContentTypeChangedNotification(ContentTypeChange<IContentType>, EventMessages)
Initializes a new instance of the ContentTypeChangedNotification class with a single content type change.
Declaration
public ContentTypeChangedNotification(ContentTypeChange<IContentType> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChange<IContentType> | target | The content type change that occurred. |
| EventMessages | messages | The event messages collection. |