Class DictionaryItemDeletedDistributedCacheNotificationHandler
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Inheritance
object
DeletedDistributedCacheNotificationHandlerBase<IDictionaryItem, DictionaryItemDeletedNotification, IDictionaryItem>
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public sealed class DictionaryItemDeletedDistributedCacheNotificationHandler : DeletedDistributedCacheNotificationHandlerBase<IDictionaryItem, DictionaryItemDeletedNotification>, IDistributedCacheNotificationHandler<DictionaryItemDeletedNotification>, INotificationHandler<DictionaryItemDeletedNotification>, IDistributedCacheNotificationHandler, INotificationHandler
Constructors
View SourceDictionaryItemDeletedDistributedCacheNotificationHandler(DistributedCache)
Initializes a new instance of the DictionaryItemDeletedDistributedCacheNotificationHandler class.
Declaration
public DictionaryItemDeletedDistributedCacheNotificationHandler(DistributedCache distributedCache)
Parameters
| Type | Name | Description |
|---|---|---|
| DistributedCache | distributedCache | The distributed cache. |
Methods
View SourceHandle(IEnumerable<IDictionaryItem>)
Handles the specified entities.
Declaration
[Obsolete("Scheduled for removal in Umbraco 18.")]
protected override void Handle(IEnumerable<IDictionaryItem> entities)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IDictionaryItem> | entities | The entities. |
Handle(IEnumerable<IDictionaryItem>, IDictionary<string, object?>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<IDictionaryItem> entities, IDictionary<string, object?> state)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IDictionaryItem> | entities | The entities. |
| IDictionary<string, object> | state | The notification state. |