Skip to content

Commit 4f26b3c

Browse files
committed
Added some explanatory comments in the parser file
1 parent 64e6a26 commit 4f26b3c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/IGLib.Core/Console/Validation/Implementations/StringParsing

src/IGLib.Core/Console/Validation/Implementations/StringParsing/Parsers.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace IGLib
99
{
1010

11+
/// <summary>Dummy identity parser - just returns the original string when parsing a string value from a string.</summary>
1112
internal sealed class IdentityStringParser : IStringParser<string>
1213
{
1314
public bool TryParse(string text, out string value)
@@ -17,6 +18,7 @@ public bool TryParse(string text, out string value)
1718
}
1819
}
1920

21+
/// <summary>Parses boolean from a striring.</summary>
2022
internal sealed class BooleanStringParser : IStringParser<bool>
2123
{
2224
public bool TryParse(string text, out bool value) =>

0 commit comments

Comments
 (0)