We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff94dbd commit 3cf6fb8Copy full SHA for 3cf6fb8
1 file changed
src/IGLib.Core/Console/Validation/Implementations/StringParsing/Parsers.cs
@@ -0,0 +1,16 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.ComponentModel.DataAnnotations;
4
+using System.Linq;
5
+using System.Text;
6
+
7
+namespace IGLib
8
+{
9
10
+ internal sealed class BooleanStringParser : IStringParser<bool>
11
+ {
12
+ public bool TryParse(string text, out bool value) =>
13
+ bool.TryParse(text, out value);
14
+ }
15
16
+}
0 commit comments