예제 #1
0
        public virtual bool TrySetValue(TKey key, TValue value)
        {
            var newVal = new CacheValue <TValue>(value, _expireTime);

            return(base.TrySetValue(key, newVal));
        }
예제 #2
0
 protected new bool TryGetValue(TKey key, out CacheValue <TValue> value)
 {
     return(base.TryGetValue(key, out value));
 }
예제 #3
0
 protected new bool TrySetValue(TKey key, CacheValue <TValue> value)
 {
     return(base.TrySetValue(key, value));
 }