We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0337200 commit 503459dCopy full SHA for 503459d
1 file changed
GameFrameX.Foundation.Options/BooleanParser.cs
@@ -61,7 +61,10 @@ public static bool IsBooleanValue(string value)
61
/// Parses a boolean string value
62
/// </summary>
63
/// <param name="value">要解析的字符串值 / The string value to parse</param>
64
- /// <returns>解析后的布尔值 / The parsed boolean value</returns>
+ /// <returns>
65
+ /// 解析后的布尔值。如果值为 null、空白或无法识别,则返回 false。
66
+ /// The parsed boolean value. Returns false if the value is null, whitespace, or unrecognized.
67
+ /// </returns>
68
public static bool ParseBooleanValue(string value)
69
{
70
if (string.IsNullOrWhiteSpace(value))
0 commit comments