private void request_Completed(object sender, RequestEventArgs e) { JsonObject jsonObject = (JsonObject)JsonObject.Parse(e.Result); FindLocationAnalystResult result = FindLocationAnalystResult.FromJson(jsonObject); LastResult = result; FindLocationAnalystEventArgs args = new FindLocationAnalystEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); }
void locationAnalystService_ProcessCompleted(object sender, FindLocationAnalystEventArgs e) { }
private void OnProcessCompleted(FindLocationAnalystEventArgs args) { if (ProcessCompleted != null) { this.ProcessCompleted(this, args); } }