${IS6_SetLayerStatusEventArgs_Title}
${IS6_SetLayerStatusEventArgs_Description}
private void request_Completed(object sender, RequestEventArgs e) { JsonPrimitive jsonObject = (JsonPrimitive)JsonObject.Parse(e.Result); SetLayerStatusResult result = SetLayerStatusResult.FromJson(jsonObject); LastResult = result; SetLayerStatusEventArgs args = new SetLayerStatusEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); }
private void OnProcessCompleted(SetLayerStatusEventArgs args) { if (ProcessCompleted != null) { Application.Current.RootVisual.Dispatcher.BeginInvoke(ProcessCompleted, new object[] { this, args }); } }