Commit a067bbdf authored by 阿星Plus's avatar 阿星Plus

parent 4355e858
...@@ -7,14 +7,14 @@ namespace Plus.Runtime.Caching.Memory ...@@ -7,14 +7,14 @@ namespace Plus.Runtime.Caching.Memory
/// <summary> /// <summary>
/// Implements <see cref="ICacheManager"/> to work with MemoryCache. /// Implements <see cref="ICacheManager"/> to work with MemoryCache.
/// </summary> /// </summary>
public class AbpMemoryCacheManager : CacheManagerBase public class PlusMemoryCacheManager : CacheManagerBase
{ {
public ILogger Logger { get; set; } public ILogger Logger { get; set; }
/// <summary> /// <summary>
/// Constructor. /// Constructor.
/// </summary> /// </summary>
public AbpMemoryCacheManager(IIocManager iocManager, ICachingConfiguration configuration) public PlusMemoryCacheManager(IIocManager iocManager, ICachingConfiguration configuration)
: base(iocManager, configuration) : base(iocManager, configuration)
{ {
Logger = NullLogger.Instance; Logger = NullLogger.Instance;
...@@ -22,7 +22,7 @@ namespace Plus.Runtime.Caching.Memory ...@@ -22,7 +22,7 @@ namespace Plus.Runtime.Caching.Memory
protected override ICache CreateCacheImplementation(string name) protected override ICache CreateCacheImplementation(string name)
{ {
return new AbpMemoryCache(name) return new PlusMemoryCache(name)
{ {
Logger = Logger Logger = Logger
}; };
......
...@@ -7,7 +7,7 @@ namespace Plus.Runtime.Caching.Memory ...@@ -7,7 +7,7 @@ namespace Plus.Runtime.Caching.Memory
/// <summary> /// <summary>
/// Implements <see cref="ICache"/> to work with <see cref="MemoryCache"/>. /// Implements <see cref="ICache"/> to work with <see cref="MemoryCache"/>.
/// </summary> /// </summary>
public class AbpMemoryCache : CacheBase public class PlusMemoryCache : CacheBase
{ {
private MemoryCache _memoryCache; private MemoryCache _memoryCache;
...@@ -15,7 +15,7 @@ namespace Plus.Runtime.Caching.Memory ...@@ -15,7 +15,7 @@ namespace Plus.Runtime.Caching.Memory
/// Constructor. /// Constructor.
/// </summary> /// </summary>
/// <param name="name">Unique name of the cache</param> /// <param name="name">Unique name of the cache</param>
public AbpMemoryCache(string name) public PlusMemoryCache(string name)
: base(name) : base(name)
{ {
_memoryCache = new MemoryCache(new OptionsWrapper<MemoryCacheOptions>(new MemoryCacheOptions())); _memoryCache = new MemoryCache(new OptionsWrapper<MemoryCacheOptions>(new MemoryCacheOptions()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment