Class DomainSavedDistributedCacheNotificationHandler
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 DomainSavedDistributedCacheNotificationHandler : SavedDistributedCacheNotificationHandlerBase<IDomain, DomainSavedNotification>, IDistributedCacheNotificationHandler<DomainSavedNotification>, INotificationHandler<DomainSavedNotification>, IDistributedCacheNotificationHandler, INotificationHandler
Constructors
View SourceDomainSavedDistributedCacheNotificationHandler(DistributedCache)
Initializes a new instance of the DomainSavedDistributedCacheNotificationHandler class.
Declaration
public DomainSavedDistributedCacheNotificationHandler(DistributedCache distributedCache)
Parameters
Type | Name | Description |
---|---|---|
DistributedCache | distributedCache | The distributed cache. |
Methods
View SourceHandle(IEnumerable<IDomain>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<IDomain> entities)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IDomain> | entities |