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