Class TreeChangeDistributedCacheNotificationHandlerBase<TEntity, TNotification>
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
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. |