File tree Expand file tree Collapse file tree
src/IGLib.Core/Console/Validation/Implementations/StringParsing Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
33using System . ComponentModel . DataAnnotations ;
4+ using System . Globalization ;
45using System . Linq ;
56using System . Text ;
67
78namespace IGLib
89{
910
1011
11- public static class StringParserProvider
12+ internal static class StringParserProvider
1213 {
13-
1414 public static IStringParser < T > GetParser < T > ( IFormatProvider ? formatProvider = null )
1515 {
16- Type type = typeof ( T ) ;
17-
16+ Type targetType = typeof ( T ) ;
17+ IFormatProvider provider = formatProvider ?? CultureInfo . CurrentCulture ;
1818
1919
20- throw new NotSupportedException ( $ "Type { type . FullName } is not supported.") ;
20+ throw new NotImplementedException ( ) ;
21+ // throw new NotSupportedException($"Type {type.FullName} is not supported.");
2122 }
2223
2324
You can’t perform that action at this time.
0 commit comments