public DistributedCacheManagerHttpContext( IDistributedCache distributedCache, DistributedCacheEntryOptions distributedCacheEntryOptions, IHttpContextAccessor httpContextAccessor, IDistributedCacheKeyPrefix distributedCacheKeyPrefix = null) : base(distributedCache, distributedCacheEntryOptions, distributedCacheKeyPrefix) { _httpContextAccessor = httpContextAccessor; }
public DistributedCacheManager( IDistributedCache distributedCache, DistributedCacheEntryOptions distributedCacheEntryOptions, IDistributedCacheKeyPrefix distributedCacheKeyPrefix = null) { _distributedCache = distributedCache; _distributedCacheEntryOptions = distributedCacheEntryOptions; if (distributedCacheKeyPrefix == null) { _distributedCacheKeyPrefix = new DistributedCacheKeyPrefix(); } else { _distributedCacheKeyPrefix = distributedCacheKeyPrefix; } }