Class ElementTreeChangeDistributedCacheNotificationHandler
Inheritance
object
TreeChangeDistributedCacheNotificationHandlerBase<TreeChange<IElement>, ElementTreeChangeNotification, IElement>
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public class ElementTreeChangeDistributedCacheNotificationHandler : TreeChangeDistributedCacheNotificationHandlerBase<IElement, ElementTreeChangeNotification>, IDistributedCacheNotificationHandler<ElementTreeChangeNotification>, INotificationHandler<ElementTreeChangeNotification>, IDistributedCacheNotificationHandler, INotificationHandler
Constructors
View SourceElementTreeChangeDistributedCacheNotificationHandler(DistributedCache)
Initializes a new instance of the ElementTreeChangeDistributedCacheNotificationHandler class.
Declaration
public ElementTreeChangeDistributedCacheNotificationHandler(DistributedCache distributedCache)
Parameters
| Type | Name | Description |
|---|---|---|
| DistributedCache | distributedCache | The distributed cache. |
Methods
View SourceHandle(IEnumerable<TreeChange<IElement>>, IDictionary<string, object?>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<TreeChange<IElement>> entities, IDictionary<string, object?> state)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TreeChange<IElement>> | entities | The entities. |
| IDictionary<string, object> | state | The notification state. |