public WeatherDataProvider(IWeatherHttpClient httpClient, IWeatherStorage weatherStorage, IWeatherDataUpdater dataUpdater) { _weatherHttpClient = httpClient; _weatherStorage = weatherStorage; _dataUpdater = dataUpdater; _dataUpdater.StartTimer(); }
public WeatherDataUpdater(IWeatherSettings settings, IWeatherStorage weatherStorage, IWeatherHttpClient httpClient) { this._settings = settings; _weatherStorage = weatherStorage; _httpClient = httpClient; }