コード例 #1
0
 public SearchServiceClientWrapper(
     ISearchServiceClient inner,
     ILogger <DocumentsOperationsWrapper> documentsOperationsLogger)
 {
     _inner  = inner ?? throw new ArgumentNullException(nameof(inner));
     Indexes = new IndexesOperationsWrapper(_inner.Indexes, documentsOperationsLogger);
 }
コード例 #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);
 }