コード例 #1
0
        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;
        }
コード例 #2
0
 public LocationQueryViewModel(WeatherUnderground.AC_RESULT location)
 {
     SetLocation(location);
 }