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();
        }
예제 #3
0
 public DarkSkyService(
     IWeatherServiceRepository repository,
     IWeatherInfoServiceClient client,
     IWeatherInfoServiceUtils utils) : base(repository, client, utils)
 {
 }
예제 #4
0
 public WeatherServiceFileRepository(IWeatherInfoServiceUtils utils)
 {
     _utils    = utils;
     _fileName = "WeatherInfoService.txt";
     _filePath = Path.GetDirectoryName(Path.GetFullPath(Assembly.GetEntryAssembly().Location)) + $@"\{_fileName}";
 }
예제 #5
0
 public OpenWeatherMapService(
     IWeatherServiceRepository repository,
     IWeatherInfoServiceClient client,
     IWeatherInfoServiceUtils utils) : base(repository, client, utils)
 {
 }