public WeatherInfoServiceJsonClient( IWeatherInfoServiceUtils utils, IWeatherInfoServiceLogger logger) { _utils = utils; _logger = logger; _httpClient = new HttpClient(); }
public WeatherInfoService( IWeatherServiceRepository repository, IWeatherInfoServiceClient client, IWeatherInfoServiceUtils utils) { _repository = repository; _utils = utils; _client = client; Initialize(); }
public DarkSkyService( IWeatherServiceRepository repository, IWeatherInfoServiceClient client, IWeatherInfoServiceUtils utils) : base(repository, client, utils) { }
public WeatherServiceFileRepository(IWeatherInfoServiceUtils utils) { _utils = utils; _fileName = "WeatherInfoService.txt"; _filePath = Path.GetDirectoryName(Path.GetFullPath(Assembly.GetEntryAssembly().Location)) + $@"\{_fileName}"; }
public OpenWeatherMapService( IWeatherServiceRepository repository, IWeatherInfoServiceClient client, IWeatherInfoServiceUtils utils) : base(repository, client, utils) { }