Exemple #1
0
 public WeatherScheduler(IWeatherParser parser, ILogger logger)
 {
     _parser  = parser;
     _logger  = logger;
     _nextRun = DateTime.UtcNow;
 }
 public WeatherService(IWeatherServiceConfiguration config, 
     IWeatherParser weatherParser)
 {
     _config = config;
     _parser = weatherParser;
 }
Exemple #3
0
 public WeatherService(IWeatherServiceConfiguration config,
                       IWeatherParser weatherParser)
 {
     _config = config;
     _parser = weatherParser;
 }
Exemple #4
0
 public WeatherCommand(Api bot, IWeatherService service, IWeatherParser parser)
 {
     this.bot = bot;
     this.service = service;
     this.parser = parser;
 }
Exemple #5
0
 public WeatherProvider(Logger logger, IWeatherParser instance)
 {
     _weatherParser = instance;
     _logger        = logger;
 }