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