Class ContentTypeChangedDistributedCacheNotificationHandler
Defines a handler for a TNotification
that triggers a distributed cache refresher.
Inheritance
System.Object
DistributedCacheNotificationHandlerBase<ContentTypeChange<IContentType>, ContentTypeChangedNotification>
ContentTypeChangedDistributedCacheNotificationHandlerBase<ContentTypeChange<IContentType>, ContentTypeChangedNotification, IContentType>
ContentTypeChangedDistributedCacheNotificationHandlerBase<IContentType, ContentTypeChangedNotification>
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentTypeChangedDistributedCacheNotificationHandler : ContentTypeChangedDistributedCacheNotificationHandlerBase<IContentType, ContentTypeChangedNotification>, IDistributedCacheNotificationHandler<ContentTypeChangedNotification>, INotificationHandler<ContentTypeChangedNotification>, IDistributedCacheNotificationHandler, INotificationHandler
Constructors
View SourceContentTypeChangedDistributedCacheNotificationHandler(DistributedCache)
Initializes a new instance of the ContentTypeChangedDistributedCacheNotificationHandler class.
Declaration
public ContentTypeChangedDistributedCacheNotificationHandler(DistributedCache distributedCache)
Parameters
Type | Name | Description |
---|---|---|
DistributedCache | distributedCache | The distributed cache. |
Methods
View SourceHandle(IEnumerable<ContentTypeChange<IContentType>>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<ContentTypeChange<IContentType>> entities)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ContentTypeChange<IContentType>> | entities |