Class DistributedCache<TCacheItem>
Represents a distributed cache of TCacheItem
type.
Inherited Members
Namespace: Volo.Abp.Caching
Assembly: Volo.Abp.Caching.dll
Syntax
public class DistributedCache<TCacheItem> : DistributedCache<TCacheItem, string>, IDistributedCache<TCacheItem>, IDistributedCache<TCacheItem, string> where TCacheItem : class
Type Parameters
Name | Description |
---|---|
TCacheItem | The type of cache item being cached. |
Constructors
DistributedCache(IOptions<AbpDistributedCacheOptions>, IDistributedCache, ICancellationTokenProvider, IDistributedCacheSerializer, IDistributedCacheKeyNormalizer, IHybridServiceScopeFactory, IUnitOfWorkManager)
Declaration
public DistributedCache(IOptions<AbpDistributedCacheOptions> distributedCacheOption, IDistributedCache cache, ICancellationTokenProvider cancellationTokenProvider, IDistributedCacheSerializer serializer, IDistributedCacheKeyNormalizer keyNormalizer, IHybridServiceScopeFactory serviceScopeFactory, IUnitOfWorkManager unitOfWorkManager)
Parameters
Type | Name | Description |
---|---|---|
IOptions<AbpDistributedCacheOptions> | distributedCacheOption | |
Volo.Abp.Caching.IDistributedCache | cache | |
ICancellationTokenProvider | cancellationTokenProvider | |
IDistributedCacheSerializer | serializer | |
IDistributedCacheKeyNormalizer | keyNormalizer | |
IHybridServiceScopeFactory | serviceScopeFactory | |
IUnitOfWorkManager | unitOfWorkManager |