${iServer6_SetLayerStatusResult_Title}
${iServer6_SetLayerStatusResult_Description}
/// <summary>${iServer6_SetLayerStatusResult_method_fromJson_D}</summary> /// <returns>${iServer6_SetLayerStatusResult_method_fromJson_return}</returns> /// <param name="jsonResult">${iServer6_SetLayerStatusResult_method_fromJson_param_jsonObject}</param> internal static SetLayerResult FromJson(string jsonResult) { JsonObject resultObject = (JsonObject)JsonValue.Parse(jsonResult); if (resultObject.ContainsKey("succeed")) { SetLayerResult setLayerStatusResult = new SetLayerResult { IsSucceed = resultObject["succeed"], }; return setLayerStatusResult; } return null; }
private void SetLayerStatusRequest_Complated(object sender, RequestEventArgs e) { if (e.Result != null) { SetLayerResult result = SetLayerResult.FromJson(e.Result); result.NewResourceID = resourceID.ToString(); lastResult = result; SetLayerEventArgs args = new SetLayerEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); } }
/// <summary>${iServer6_SetLayerStatusEventArgs_constructor_None_D}</summary> public SetLayerEventArgs(SetLayerResult result, string originResult, object token) : base(token) { Result = result; OriginResult = originResult; }