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