${IS6_FuzzyFindBusLineEventArgs_Title}
${IS6_FuzzyFindBusLineEventArgs_Description}
private void request_Completed(object sender, RequestEventArgs e) { JsonArray jsonArray = (JsonArray)JsonObject.Parse(e.Result); FuzzyFindBusLineResult result = FuzzyFindBusLineResult.FromJson(jsonArray); LastResult = result; FuzzyFindBusLineEventArgs args = new FuzzyFindBusLineEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); }
private void OnProcessCompleted(FuzzyFindBusLineEventArgs args) { if (ProcessCompleted != null) { Application.Current.RootVisual.Dispatcher.BeginInvoke(ProcessCompleted, new object[] { this, args }); } }