public static Either <TLeft, byte> ParseToByte <TLeft>(
     this Either <TLeft, string> source,
     NumberStyles style,
     TLeft left)
 {
     return(source.FlatMap(x => ByteParser.Parse <TLeft>(x, style, left)));
 }
 public static Either <TLeft, byte> ParseToByte <TLeft>(
     this Either <TLeft, string> source,
     IFormatProvider provider,
     TLeft left)
 {
     return(source.FlatMap(x => ByteParser.Parse <TLeft>(x, provider, left)));
 }
 public static Either <TLeft, byte> ParseToByte <TLeft>(
     this string source,
     NumberStyles style,
     IFormatProvider provider,
     TLeft left)
 {
     return(ByteParser.Parse <TLeft>(source, style, provider, left));
 }
Ejemplo n.º 4
0
 public static Maybe <byte> ParseToByte(this string source)
 {
     return(ByteParser.Parse(source));
 }
Ejemplo n.º 5
0
 public static Maybe <byte> ParseToByte(this Maybe <string> source, NumberStyles style, IFormatProvider provider)
 {
     return(source.FlatMap(x => ByteParser.Parse(x, style, provider)));
 }
Ejemplo n.º 6
0
 public static Maybe <byte> ParseToByte(this Maybe <string> source, NumberStyles style)
 {
     return(source.FlatMap(x => ByteParser.Parse(x, style)));
 }
Ejemplo n.º 7
0
 public static Maybe <byte> ParseToByte(this string source, NumberStyles style, IFormatProvider provider)
 {
     return(ByteParser.Parse(source, style, provider));
 }
Ejemplo n.º 8
0
 public static Maybe <byte> ParseToByte(this string source, NumberStyles style)
 {
     return(ByteParser.Parse(source, style));
 }
 public static Either <TLeft, byte> ParseToByte <TLeft>(this string source, TLeft left)
 {
     return(ByteParser.Parse(source, left));
 }