Example #1
0
 public static Either <TLeft, uint> ParseToUint <TLeft>(
     this Either <TLeft, string> source,
     NumberStyles style,
     TLeft left)
 {
     return(source.FlatMap(x => UintParser.Parse <TLeft>(x, style, left)));
 }
Example #2
0
 public static Either <TLeft, uint> ParseToUint <TLeft>(
     this Either <TLeft, string> source,
     IFormatProvider provider,
     TLeft left)
 {
     return(source.FlatMap(x => UintParser.Parse <TLeft>(x, provider, left)));
 }
Example #3
0
 public static Either <TLeft, uint> ParseToUint <TLeft>(
     this string source,
     NumberStyles style,
     IFormatProvider provider,
     TLeft left)
 {
     return(UintParser.Parse <TLeft>(source, style, provider, left));
 }
 public static Maybe <uint> ParseToUint(this string source)
 {
     return(UintParser.Parse(source));
 }
 public static Maybe <uint> ParseToUint(this Maybe <string> source, NumberStyles style, IFormatProvider provider)
 {
     return(source.FlatMap(x => UintParser.Parse(x, style, provider)));
 }
 public static Maybe <uint> ParseToUint(this Maybe <string> source, NumberStyles style)
 {
     return(source.FlatMap(x => UintParser.Parse(x, style)));
 }
 public static Maybe <uint> ParseToUint(this string source, NumberStyles style, IFormatProvider provider)
 {
     return(UintParser.Parse(source, style, provider));
 }
 public static Maybe <uint> ParseToUint(this string source, NumberStyles style)
 {
     return(UintParser.Parse(source, style));
 }
Example #9
0
 public static Either <TLeft, uint> ParseToUint <TLeft>(this string source, TLeft left)
 {
     return(UintParser.Parse(source, left));
 }