public DocumentChangedEventHandler(IDocumentFullSearch documentFullSearch, IOptions <DocsElasticSearchOptions> options)
 {
     _documentFullSearch = documentFullSearch;
     _options            = options.Value;
 }
 public DefaultElasticClientProvider(IOptions <DocsElasticSearchOptions> options, IConfiguration configuration)
 {
     Configuration = configuration;
     Options       = options.Value;
 }
Exemple #3
0
 public ElasticDocumentFullSearch(IElasticClientProvider clientProvider, IOptions <DocsElasticSearchOptions> options)
 {
     _clientProvider = clientProvider;
     _options        = options.Value;
 }