Class DeletedDistributedCacheNotificationHandlerBase<TEntity, TNotification>
Defines a handler for a TNotification
that triggers a distributed cache refresher.
Inheritance
System.Object
DistributedCacheNotificationHandlerBase<TEntity, TNotification>
DeletedDistributedCacheNotificationHandlerBase<TEntity, TNotification, TEntity>
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public abstract class DeletedDistributedCacheNotificationHandlerBase<TEntity, TNotification> : DeletedDistributedCacheNotificationHandlerBase<TEntity, TNotification, TEntity>, IDistributedCacheNotificationHandler<TNotification>, INotificationHandler<TNotification>, IDistributedCacheNotificationHandler, INotificationHandler where TNotification : DeletedNotification<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<TEntity> GetEntities(TNotification notification)
Parameters
Type | Name | Description |
---|---|---|
TNotification | notification | The notification. |
Returns
Type | Description |
---|---|
IEnumerable<TEntity> | The entities. |