public AzureSearchService( BatchIndexer indexer, SearchIndexClient searchClient, IFrameworkCompatibilityService frameworks) { _indexer = indexer ?? throw new ArgumentNullException(nameof(indexer)); _searchClient = searchClient ?? throw new ArgumentNullException(nameof(searchClient)); _frameworks = frameworks ?? throw new ArgumentNullException(nameof(frameworks)); }
public AzureSearchService(BatchIndexer indexer, SearchIndexClient searchClient) { _indexer = indexer ?? throw new ArgumentNullException(nameof(indexer)); _searchClient = searchClient ?? throw new ArgumentNullException(nameof(searchClient)); }