System.Numerics.BigNumber.ParseBigInteger C# (CSharp) Метод

ParseBigInteger() статический приватный Метод

static private ParseBigInteger ( string value, NumberStyles style, NumberFormatInfo info ) : System.Numerics.BigInteger
value string
style NumberStyles
info System.Globalization.NumberFormatInfo
Результат System.Numerics.BigInteger
        internal static BigInteger ParseBigInteger(string value, NumberStyles style, NumberFormatInfo info)
        {
            if (value == null)
                throw new ArgumentNullException(nameof(value));

            ArgumentException e;
            if (!TryValidateParseStyleInteger(style, out e))
                throw e;

            BigInteger result = BigInteger.Zero;
            if (!TryParseBigInteger(value, style, info, out result))
            {
                throw new FormatException(SR.Overflow_ParseBigInteger);
            }
            return result;
        }