protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var o = Newtonsoft.Json.JsonConvert.DeserializeObject<WeatherRecord>(e.Parameter.ToString()); Data = o; //e.Parameter as WeatherRecord; if (Data == null) throw new Exception("PANIC!"); }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); Data = e.Parameter as WeatherRecord; if (Data == null) { throw new Exception("PANIC!"); } }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var o = Newtonsoft.Json.JsonConvert.DeserializeObject <WeatherRecord>(e.Parameter.ToString()); Data = o; //e.Parameter as WeatherRecord; if (Data == null) { throw new Exception("PANIC!"); } }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); Data = e.Parameter as WeatherRecord; if (Data == null) throw new Exception("PANIC!"); }