예제 #1
0
        //public bool Exists(string key)
        //{
        //    return CacheManager.Contains(key,"");
        //}

        public bool Exists(string key, string valKey)
        {
            return(LocalCacheManager.Contains(key, valKey));
        }
예제 #2
0
 public void Remove(string key, string valKey)
 {
     LocalCacheManager.Remove(key, valKey);
 }
예제 #3
0
 public void Put(string key, string valKey, object value)
 {
     LocalCacheManager.Update(key, valKey, value);
 }
예제 #4
0
 public object Get(string key, string valKey)
 {
     return(LocalCacheManager.Get(key, valKey));
 }
예제 #5
0
 public void Add(string key, string valKey, object value)
 {
     LocalCacheManager.AddOrUpdate(key, valKey, value, DateTime.Now.AddMinutes(2));
 }