Esempio n. 1
0
 protected DocumentRepository(DocumentDbSettings settings,
                              IDocumentClientFactory clientFactory,
                              ILogger logger)
 {
     _settings   = settings;
     _clientTask = clientFactory.GetClientAsync();
     _logger     = logger;
 }
Esempio n. 2
0
 public DocumentClientFactory(DocumentDbSettings settings)
 {
     _settings = settings;
 }
Esempio n. 3
0
 public ItemRepository(DocumentDbSettings settings, IDocumentClientFactory clientFactory, ILogger <ItemRepository> logger) : base(settings, clientFactory, logger)
 {
 }