增加很多功能
增加几个日志监控功能
This commit is contained in:
16
BLWLogProduce/Services/MyCache.cs
Normal file
16
BLWLogProduce/Services/MyCache.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.Extensions.Caching.Memory;
|
||||
|
||||
namespace BLWLogProduce.Services
|
||||
{
|
||||
public class MyCache
|
||||
{
|
||||
public IConfiguration Configuration { get; set; }
|
||||
public IMemoryCache _Cache { get; set; }
|
||||
|
||||
public MyCache(IConfiguration configuration, IMemoryCache cache)
|
||||
{
|
||||
this.Configuration = configuration;
|
||||
_Cache = cache;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user