Ejemplo n.º 1
0
 public void Overwrite(PerMethodCacheKey key, T cachedObject)
 {
     _cache[key] = cachedObject;
 }
Ejemplo n.º 2
0
 public void Add(PerMethodCacheKey cacheKey, T cachedObject)
 {
     _cache.Add(cacheKey, cachedObject);
 }
Ejemplo n.º 3
0
 public T ValueFor(PerMethodCacheKey cacheKey)
 {
     return(_cache[cacheKey]);
 }
Ejemplo n.º 4
0
 public bool AlreadyContainsValueFor(PerMethodCacheKey cacheKey)
 {
     return(_cache.ContainsKey(cacheKey));
 }