public DarkSkyWeatherService( DarkSkySettings _darkSkySettings, IHttpClient _httpClient, IHttpResponseMapper _httpMapper, IWeatherCache _weatherCache ) { this._darkSkySettings = _darkSkySettings; this._httpClient = _httpClient; this._httpMapper = _httpMapper; this._weatherCache = _weatherCache; }
public BuStarRepository(string connectionString, string weatherApiKey, IDataParseService dataParseServiceParam, IDateTimeService dateTimeServiceParam, IDataCache dataCacheParam, IWeatherCache weatherCacheParam) { repository = new LiteRepository(connectionString); this.weatherApiKey = weatherApiKey; this.dataParseService = dataParseServiceParam; this.dateTimeService = dateTimeServiceParam; this.dataCache = dataCacheParam; this.weatherCache = weatherCacheParam; }
public WeatherService(IWeatherCache cache, IOpenWeatherMapClient client, AppConfig config) { this.m_config = config; this.m_client = client; this.m_cache = cache; }