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));
 }
예제 #2
0
 public AzureSearchService(BatchIndexer indexer, SearchIndexClient searchClient)
 {
     _indexer      = indexer ?? throw new ArgumentNullException(nameof(indexer));
     _searchClient = searchClient ?? throw new ArgumentNullException(nameof(searchClient));
 }