public AddLocationDescriptionHandler(IAnalitics analitics, IElasticProvider elasticProvider, IRabbitMQ rabbitMq, IOptions <AppSettings> appsettings)
 {
     _analitics     = analitics;
     _elasticClient = elasticProvider.ElasticClient;
     _rabbitMq      = rabbitMq;
     _appSettings   = appsettings.Value;
 }
Beispiel #2
0
 public ElasticSearchService(IOptions <AppSettings> appsettings, IRabbitMQ rabbitMq,
                             IElasticProvider elasticProvider, ILogger <ElasticSearchService> logger)
 {
     _elasticProvider = elasticProvider;
     _logger          = logger;
     _rabbitMq        = rabbitMq;
     _appSettings     = appsettings.Value;
 }
 public ElasticHostedService(
     IElasticProvider elasticProvider,
     ICustomJsonSerializer serializer,
     IConfiguration configuration,
     ILogger logger)
 {
     _provider      = elasticProvider;
     _serializer    = serializer;
     _configuration = configuration;
     _logger        = logger;
 }
Beispiel #4
0
 public LocationProvider(IElasticProvider elasticProvider, IAnalitics analitics)
 {
     _analitics     = analitics;
     _elasticClient = elasticProvider.ElasticClient;
 }