public async Task <IDictionary <string, CacheValue <T> > > GetAllAsync <T>(IEnumerable <string> keys) { var scopedDictionary = await UnscopedCache.GetAllAsync <T>(GetScopedCacheKeys(keys)).AnyContext(); return(scopedDictionary.ToDictionary(kvp => UnscopeCacheKey(kvp.Key), kvp => kvp.Value)); }
public Task <IDictionary <string, CacheValue <T> > > GetAllAsync <T>(IEnumerable <string> keys) { return(UnscopedCache.GetAllAsync <T>(GetScopedCacheKey(keys))); }