Skip to content

Commit 503459d

Browse files
committed
docs(options): 完善 BooleanParser.ParseBooleanValue 返回值说明
1 parent 0337200 commit 503459d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

GameFrameX.Foundation.Options/BooleanParser.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ public static bool IsBooleanValue(string value)
6161
/// Parses a boolean string value
6262
/// </summary>
6363
/// <param name="value">要解析的字符串值 / The string value to parse</param>
64-
/// <returns>解析后的布尔值 / The parsed boolean value</returns>
64+
/// <returns>
65+
/// 解析后的布尔值。如果值为 null、空白或无法识别,则返回 false。
66+
/// The parsed boolean value. Returns false if the value is null, whitespace, or unrecognized.
67+
/// </returns>
6568
public static bool ParseBooleanValue(string value)
6669
{
6770
if (string.IsNullOrWhiteSpace(value))

0 commit comments

Comments
 (0)