Class ContentTypeRefreshedNotification
Notification published when content types have been refreshed in the cache.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
[Obsolete("This is only used for the internal cache and will change, use saved notifications instead")]
public class ContentTypeRefreshedNotification : ContentTypeRefreshNotification<IContentType>, IStatefulNotification, INotification
Remarks
This notification is used internally for cache synchronization purposes. For normal content type operations, use ContentTypeSavedNotification instead.
Constructors
View SourceContentTypeRefreshedNotification(IEnumerable<ContentTypeChange<IContentType>>, EventMessages)
Initializes a new instance of the ContentTypeRefreshedNotification class with multiple content type changes.
Declaration
public ContentTypeRefreshedNotification(IEnumerable<ContentTypeChange<IContentType>> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ContentTypeChange<IContentType>> | target | The collection of content type changes that occurred. |
| EventMessages | messages | The event messages collection. |
ContentTypeRefreshedNotification(ContentTypeChange<IContentType>, EventMessages)
Initializes a new instance of the ContentTypeRefreshedNotification class with a single content type change.
Declaration
public ContentTypeRefreshedNotification(ContentTypeChange<IContentType> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChange<IContentType> | target | The content type change that occurred. |
| EventMessages | messages | The event messages collection. |