/// <inheritdoc/> public Task <Dictionary <CacheItemDefinition, T> > GetAsync <T>(ICollection <CacheItemDefinition> keys) where T : class { GuardDisposed(); var helper = new MultipleGetHelper(this); return(helper.GetAsync <T>(keys)); }
/// <inheritdoc/> public Task <Dictionary <CacheItemDefinition, T> > GetOrAddAsync <T>(IEnumerable <CacheItemDefinition> keys, Func <CacheItemDefinition[], Task <Dictionary <CacheItemDefinition, T> > > getActionAsync) where T : class { GuardDisposed(); var helper = new MultipleGetHelper(this); return(helper.GetOrAddAsync <T>(keys, getActionAsync)); }