Browse Source

DistributedCacheOptions to AbpDistributedCacheOptions

pull/1919/head
Yunus Emre Kalkan 7 years ago
parent
commit
81a01ee8d2
  1. 2
      framework/src/Volo.Abp.Caching/Volo/Abp/Caching/AbpDistributedCacheOptions.cs
  2. 4
      framework/src/Volo.Abp.Caching/Volo/Abp/Caching/DistributedCache.cs

2
framework/src/Volo.Abp.Caching/Volo/Abp/Caching/DistributedCacheOptions.cs → framework/src/Volo.Abp.Caching/Volo/Abp/Caching/AbpDistributedCacheOptions.cs

@ -1,6 +1,6 @@
namespace Volo.Abp.Caching namespace Volo.Abp.Caching
{ {
public class DistributedCacheOptions public class AbpDistributedCacheOptions
{ {
/// <summary> /// <summary>
/// Throw or hide exceptions for the distributed cache. /// Throw or hide exceptions for the distributed cache.

4
framework/src/Volo.Abp.Caching/Volo/Abp/Caching/DistributedCache.cs

@ -38,11 +38,11 @@ namespace Volo.Abp.Caching
private readonly AbpCacheOptions _cacheOption; private readonly AbpCacheOptions _cacheOption;
private readonly DistributedCacheOptions _distributedCacheOption; private readonly AbpDistributedCacheOptions _distributedCacheOption;
public DistributedCache( public DistributedCache(
IOptions<AbpCacheOptions> cacheOption, IOptions<AbpCacheOptions> cacheOption,
IOptions<DistributedCacheOptions> distributedCacheOption, IOptions<AbpDistributedCacheOptions> distributedCacheOption,
IDistributedCache cache, IDistributedCache cache,
ICancellationTokenProvider cancellationTokenProvider, ICancellationTokenProvider cancellationTokenProvider,
IDistributedCacheSerializer serializer, IDistributedCacheSerializer serializer,

Loading…
Cancel
Save