Example #1
0
 public object this[string key]
 {
     get
     {
         return(PersistableCacheHelper.Get(key));
     }
     set
     {
         PersistableCacheHelper.Add(key, value, DefaultCacheTime);
     }
 }
Example #2
0
 public T Get <T>(string key)
 {
     return(PersistableCacheHelper.Get <T>(key));
 }
Example #3
0
 public object Get(string key)
 {
     return(PersistableCacheHelper.Get(key));
 }