コード例 #1
0
 public WeatherMapService(int zip, string countryCode)
 {
     WeatherResponse = CallManager.GetResponseByZip(zip, countryCode);
     DTO.DeserializeRates(WeatherResponse);
 }
コード例 #2
0
 public WeatherMapService(float latitude, float longitude)
 {
     WeatherResponse = CallManager.GetResponseByLatAndLong(latitude, longitude);
     DTO.DeserializeRates(WeatherResponse);
 }
コード例 #3
0
 public WeatherMapService(string name)
 {
     WeatherResponse = CallManager.GetResponseByCityName(name);
     DTO.DeserializeRates(WeatherResponse);
 }
コード例 #4
0
 public WeatherMapService(string name, string stateCode, string countryCode)
 {
     WeatherResponse = CallManager.GetResponseByCityNameStateCountry(name, stateCode, countryCode);
     DTO.DeserializeRates(WeatherResponse);
 }
コード例 #5
0
 public WeatherMapService(int id)
 {
     WeatherResponse = CallManager.GetResponseByCityID(id);
     DTO.DeserializeRates(WeatherResponse);
 }