public static bool TryParse(string?str, IFormatProvider?provider, out SpecificDischarge result)
 {
     return(QuantityParser.Default.TryParse <SpecificDischarge, SpecificDischargeUnit>(
                str,
                provider,
                From,
                out result));
 }
        public bool Equals(SpecificDischarge other, double tolerance, ComparisonType comparisonType)
        {
            if (tolerance < 0)
            {
                throw new ArgumentOutOfRangeException("tolerance", "Tolerance must be greater than or equal to 0.");
            }

            double thisValue             = (double)this.Value;
            double otherValueInThisUnits = other.As(this.Unit);

            return(UnitsNet.Comparison.Equals(thisValue, otherValueInThisUnits, tolerance, comparisonType));
        }
 public bool Equals(SpecificDischarge other)
 {
     return(_value.Equals(other.GetValueAs(this.Unit)));
 }
 public int CompareTo(SpecificDischarge other)
 {
     return(_value.CompareTo(other.GetValueAs(this.Unit)));
 }
 public static bool TryParse(string?str, out SpecificDischarge result)
 {
     return(TryParse(str, null, out result));
 }