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