Files
Web_BLSKafka_Server_Prod/BLWLogProduce/Services/MyCache.cs

17 lines
398 B
C#
Raw Normal View History

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;
}
}
}