Class TreeChangeDistributedCacheNotificationHandlerBase<TEntity, TNotification>
Defines a handler for a TNotification
that triggers a distributed cache refresher.
Inheritance
System.Object
DistributedCacheNotificationHandlerBase<TreeChange<TEntity>, TNotification>
TreeChangeDistributedCacheNotificationHandlerBase<TreeChange<TEntity>, TNotification, TEntity>
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public abstract class TreeChangeDistributedCacheNotificationHandlerBase<TEntity, TNotification> : TreeChangeDistributedCacheNotificationHandlerBase<TreeChange<TEntity>, TNotification, TEntity>, IDistributedCacheNotificationHandler<TNotification>, INotificationHandler<TNotification>, IDistributedCacheNotificationHandler, INotificationHandler where TNotification : TreeChangeNotification<TEntity>
Type Parameters
Name | Description |
---|---|
TEntity | The type of the entity. |
TNotification | The type of the notification. |
Methods
View SourceGetEntities(TNotification)
Gets the entities from the specified notification.
Declaration
protected override IEnumerable<TreeChange<TEntity>> GetEntities(TNotification notification)
Parameters
Type | Name | Description |
---|---|---|
TNotification | notification | The notification. |
Returns
Type | Description |
---|---|
IEnumerable<TreeChange<TEntity>> | The entities. |