public void Overwrite(PerMethodCacheKey key, T cachedObject) { _cache[key] = cachedObject; }
public void Add(PerMethodCacheKey cacheKey, T cachedObject) { _cache.Add(cacheKey, cachedObject); }
public T ValueFor(PerMethodCacheKey cacheKey) { return(_cache[cacheKey]); }
public bool AlreadyContainsValueFor(PerMethodCacheKey cacheKey) { return(_cache.ContainsKey(cacheKey)); }