Exemple #1
0
 public IndexQueryCommandHandler(
     IIndexingClient indexingClient,
     IOptions <SearchOptions> options,
     ILogger <IndexQueryCommandHandler> logger)
 {
     _indexingClient = indexingClient;
     _options        = options.Value;
     _logger         = logger;
 }
Exemple #2
0
 public IndexingService(
     IIndexingClient indexingClient,
     IIndexProvider <EntryItem> entryIndexProvider,
     IIndexProvider <LeagueItem> leagueIndexProvider,
     IVerifiedEntryIndexProvider verifiedEntryIndexProvider,
     ISingleEntryIndexProvider singleEntryIndexProvider,
     ILogger <IndexingClient> logger)
 {
     _indexingClient             = indexingClient;
     _entryIndexProvider         = entryIndexProvider;
     _leagueIndexProvider        = leagueIndexProvider;
     _verifiedEntryIndexProvider = verifiedEntryIndexProvider;
     _singleEntryIndexProvider   = singleEntryIndexProvider;
     _logger = logger;
 }