/// <summary>${IS6_ThemeResult_method_FromJson_D}</summary> /// <returns>${IS6_ThemeResult_method_FromJson_return}</returns> /// <param name="jsonPrimitive">${IS6_ThemeResult_method_FromJson_param_jsonObject}</param> public static ThemeResult FromJson(JsonPrimitive jsonPrimitive) { if (jsonPrimitive == null) { return null; } ThemeResult result = new ThemeResult(); result.LayerKey = jsonPrimitive; return result; }
private void request_Completed(object sender, RequestEventArgs e) { JsonPrimitive jsonObject = (JsonPrimitive)JsonObject.Parse(e.Result); ThemeResult result = ThemeResult.FromJson(jsonObject); LastResult = result; ThemeEventArgs args = new ThemeEventArgs(result, e.Result, e.UserState); OnProcessCompleted(args); }
/// <summary>${IS6_ThemeEventArgs_constructor_D}</summary> public ThemeEventArgs(ThemeResult result, string originResult, object token) : base(token) { Result = result; OriginResult = originResult; }