Esempio n. 1
0
 public SearchServiceClientWrapper(
     ISearchServiceClient inner,
     ILogger <DocumentsOperationsWrapper> documentsOperationsLogger)
 {
     _inner  = inner ?? throw new ArgumentNullException(nameof(inner));
     Indexes = new IndexesOperationsWrapper(_inner.Indexes, documentsOperationsLogger);
 }
Esempio n. 2
0
 public SearchServiceClientWrapper(
     ISearchServiceClient inner,
     DelegatingHandler[] handlers,
     RetryPolicy retryPolicy,
     ILogger <DocumentsOperationsWrapper> documentsOperationsLogger)
 {
     _inner  = inner ?? throw new ArgumentNullException(nameof(inner));
     Indexes = new IndexesOperationsWrapper(_inner.Indexes, handlers, retryPolicy, documentsOperationsLogger);
 }