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