Skip to content

Commit 1bfee47

Browse files
committed
docs: 修复XML注释中的泛型类型符号格式
1 parent dbdc59e commit 1bfee47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Runtime/Extensions/HttpJsonResultHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ namespace GameFrameX.Web.Runtime
1010
public static class HttpJsonResultHelper
1111
{
1212
/// <summary>
13-
/// 将JSON字符串转换为HttpJsonResultData<T>对象。
13+
/// 将JSON字符串转换为HttpJsonResultData&lt;T&gt;对象。
1414
/// 该方法尝试反序列化给定的JSON字符串,并根据HTTP响应的状态码设置IsSuccess属性。
1515
/// 如果响应成功,Data属性将包含反序列化后的数据对象;否则,Data将为默认值。
1616
/// </summary>
1717
/// <typeparam name="T">要反序列化为的对象类型,必须是类并具有无参数构造函数。</typeparam>
1818
/// <param name="jsonResult">包含HTTP响应的JSON字符串。</param>
19-
/// <returns>HttpJsonResultData<T>对象,表示反序列化的结果。</returns>
19+
/// <returns>HttpJsonResultData&lt;T&gt;对象,表示反序列化的结果。</returns>
2020
public static HttpJsonResultData<T> ToHttpJsonResultData<T>(this string jsonResult) where T : class, new()
2121
{
2222
HttpJsonResultData<T> resultData = new HttpJsonResultData<T>

0 commit comments

Comments
 (0)