示例#1
0
 public ProcessingBaseCurrentWeatherImpl(IElasticConnection elasticConnection,
                                         ILocationFileReader locationFileReader, IOwmApiReader owmApiReader, IProcessingUtils processingUtils,
                                         IOwmToElasticDocumentConverter <CurrentWeatherBase> owmToElasticDocumentConverter,
                                         IProcessingBaseImplementations processingBaseImplementations)
 {
     _elasticConnection             = elasticConnection;
     _locationFileReader            = locationFileReader;
     _owmApiReader                  = owmApiReader;
     _processingUtils               = processingUtils;
     _owmToElasticDocumentConverter = owmToElasticDocumentConverter;
     _processingBaseImplementations = processingBaseImplementations;
     _logger = Log.Logger.ForContext <ProcessingBaseCurrentWeatherImpl>();
     _logger.Information("Begin with etl process of weather information for locations.");
 }