public IDictionaryItem Get(string key) { using (var keyRepo = new DictionaryByKeyRepository(this, UnitOfWork, RepositoryCache, Logger, SqlSyntax)) { return(keyRepo.Get(key)); } }
public IDictionaryItem Get(string key) { // note: normal to use GlobalCache here since we're passing it to a new repository using (var keyRepo = new DictionaryByKeyRepository(this, UnitOfWork, GlobalCache, Logger, SqlSyntax)) { return(keyRepo.Get(key)); } }
public IDictionaryItem Get(string key) { var keyRepo = new DictionaryByKeyRepository(this, ScopeAccessor, AppCaches, _loggerFactory.CreateLogger <DictionaryByKeyRepository>()); return(keyRepo.Get(key)); }
public IDictionaryItem Get(string key) { var keyRepo = new DictionaryByKeyRepository(this, ScopeAccessor, AppCaches, Logger); return(keyRepo.Get(key)); }