${IS6_EditResult_Title}

${IS6_EditResult_Description}

        /// <summary>${IS6_EditResult_method_fromJSON_D}</summary>
        /// <returns>${IS6_EditResult_method_fromJSON_Return}</returns>
        /// <param name="jsonObject">${IS6_EditResult_method_fromJSON_param}</param>
        public static EditResult FromJson(JsonObject jsonObject)
        {
            if (jsonObject == null)
            {
                return null;
            }

            EditResult result = new EditResult();

            result.Succeed = (bool)jsonObject["succeed"];

            JsonArray idsInJson = (JsonArray)jsonObject["ids"];
            if (idsInJson.Count > 0 && idsInJson != null)
            {
                result.IDs = new List<int>();
                for (int i = 0; i < idsInJson.Count; i++)
                {
                    result.IDs.Add(idsInJson[i]);
                }
            }

            if (jsonObject["bounds"] != null)
            {
                double mbMinX = (double)jsonObject["bounds"]["leftBottom"]["x"];
                double mbMinY = (double)jsonObject["bounds"]["leftBottom"]["y"];
                double mbMaxX = (double)jsonObject["bounds"]["rightTop"]["x"];
                double mbMaxY = (double)jsonObject["bounds"]["rightTop"]["y"];
                result.Bounds = new Rectangle2D(mbMinX, mbMinY, mbMaxX, mbMaxY);
            }

            result.Message = (string)jsonObject["message"];
            return result;
        }
 private void request_Completed(object sender, RequestEventArgs e)
 {
     JsonObject jsonObject = (JsonObject)JsonObject.Parse(e.Result);
     EditResult result = EditResult.FromJson(jsonObject);
     LastResult = result;
     EditEventArgs args = new EditEventArgs(result, e.Result, e.UserState);
     OnProcessCompleted(args);
 }