public void SetLocation(WeatherUnderground.AC_RESULT location) { LocationName = location.name; LocationCountry = location.c; LocationQuery = location.l; LocationLat = double.Parse(location.lat); LocationLong = double.Parse(location.lon); LocationTZ_Long = location.tz; }
public LocationQueryViewModel(WeatherUnderground.AC_RESULT location) { SetLocation(location); }