Exemplo n.º 1
0
 public T Remove(string key)
 {
     return(ObjectCacheUtils.Remove <T>(_keyPrefix + key));
 }
Exemplo n.º 2
0
 public void Add(string key, object value, TimeSpan cacheDuration,
                 bool isSlidingExpiration)
 {
     ObjectCacheUtils.Add(_keyPrefix + key, value, cacheDuration, isSlidingExpiration);
 }
Exemplo n.º 3
0
 public T Get(string key)
 {
     return(ObjectCacheUtils.Get <T>(_keyPrefix + key));
 }
Exemplo n.º 4
0
 public void Add(string key, object value, string fileOrDirectoryDependency)
 {
     ObjectCacheUtils.Add(_keyPrefix + key, value, fileOrDirectoryDependency);
 }