Exemplo n.º 1
0
 public void Set(string key, object value, DateTimeOffset?absoluteExpiration = null)
 {
     innerCache.Set(key, value, absoluteExpiration);
 }
        public void Get_Value()
        {
            string key = "key1";

            cache.Set(key, 123, null);

            var ret = (int?)cache.Get(key);

            Assert.AreEqual(123, ret);
        }