${IS6_ShowBusLineEventArgs_Title}
${IS6_ShowBusLineEventArgs_Description}
private void request_Completed(object sender, RequestEventArgs e) { JsonObject json = (JsonObject)JsonObject.Parse(e.Result); ShowBusLineResult result = ShowBusLineResult.FromJson(json); LastResult = result; ShowBusLineEventArgs args = new ShowBusLineEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); }
private void OnProcessCompleted(ShowBusLineEventArgs args) { if (ProcessCompleted != null) { Application.Current.RootVisual.Dispatcher.BeginInvoke(ProcessCompleted, new object[] { this, args }); } }