public void CustomMemoryCache_SetCache() { var policy = new CacheItemPolicy { SlidingExpiration = new TimeSpan(0, 10, 0) }; _customMemoryCache.Set(new CacheItem(Key, Value), policy); }
public void CustomMemoryCache_SetCache() { var policy = new CacheItemPolicy { SlidingExpiration = new TimeSpan(0, 10, 0) }; _customMemoryCache.Set(new CacheItem(Key, Value), policy); }