public void Test() { MemoryCacheManager cache = new MemoryCacheManager(); cache.Set("name", "123456"); Assert.AreEqual("123456", cache.Get<string>("name")); }
static CacheProvider() { CacheManager = new MemoryCacheManager(); }
public void Test() { MemoryCacheManager cache = new MemoryCacheManager(); cache.Set("name", "123456"); Assert.AreEqual("123456", cache.Get<string>("name")); }
static CacheProvider() { CacheManager = new MemoryCacheManager(); }