/// <summary> /// Creates an instance of <see cref="Gu.Units.KinematicViscosity"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.KinematicViscosity"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="KinematicViscosity"/></param> /// <returns>True if an instance of <see cref="KinematicViscosity"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out KinematicViscosity result) { return(QuantityParser.TryParse <KinematicViscosityUnit, KinematicViscosity>(text, From, styles, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.AngularAcceleration"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.AngularAcceleration"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="AngularAcceleration"/></param> /// <returns>True if an instance of <see cref="AngularAcceleration"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out AngularAcceleration result) { return(QuantityParser.TryParse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, provider, out result)); }
public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Energy result) { return(QuantityParser.TryParse <EnergyUnit, Energy>(text, From, styles, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.MagneticFieldStrength"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.MagneticFieldStrength"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="MagneticFieldStrength"/></param> /// <returns>True if an instance of <see cref="MagneticFieldStrength"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out MagneticFieldStrength result) { return(QuantityParser.TryParse <MagneticFieldStrengthUnit, MagneticFieldStrength>(text, From, styles, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Jerk"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Jerk"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="Jerk"/></param> /// <returns>True if an instance of <see cref="Jerk"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Jerk result) { return(QuantityParser.TryParse <JerkUnit, Jerk>(text, From, styles, provider, out result)); }
public static bool TryParse(string text, IFormatProvider provider, out Acceleration result) { return(QuantityParser.TryParse <AccelerationUnit, Acceleration>(text, From, NumberStyles.Float, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Temperature"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Temperature"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="Temperature"/></param> /// <returns>True if an instance of <see cref="Temperature"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Temperature result) { return(QuantityParser.TryParse <TemperatureUnit, Temperature>(text, From, styles, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Resistance"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Resistance"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="Resistance"/></param> /// <returns>True if an instance of <see cref="Resistance"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out Resistance result) { return(QuantityParser.TryParse <ResistanceUnit, Resistance>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Resistance"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Resistance"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="Resistance"/></param> /// <returns>True if an instance of <see cref="Resistance"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Resistance result) { return(QuantityParser.TryParse <ResistanceUnit, Resistance>(text, From, styles, provider, out result)); }
public static bool TryParse(string text, out AmountOfSubstance result) { return(QuantityParser.TryParse <AmountOfSubstanceUnit, AmountOfSubstance>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture, out result)); }
public static bool TryParse(string text, IFormatProvider provider, out AmountOfSubstance result) { return(QuantityParser.TryParse <AmountOfSubstanceUnit, AmountOfSubstance>(text, From, NumberStyles.Float, provider, out result)); }
public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out MassFlow result) { return(QuantityParser.TryParse <MassFlowUnit, MassFlow>(text, From, styles, provider, out result)); }
public static bool TryParse(string text, NumberStyles styles, out MassFlow result) { return(QuantityParser.TryParse <MassFlowUnit, MassFlow>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Volume"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Volume"/></param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="Volume"/></param> /// <returns>True if an instance of <see cref="Volume"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, IFormatProvider provider, out Volume result) { return(QuantityParser.TryParse <VolumeUnit, Volume>(text, From, NumberStyles.Float, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Stiffness"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Stiffness"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="Stiffness"/></param> /// <returns>True if an instance of <see cref="Stiffness"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Stiffness result) { return(QuantityParser.TryParse <StiffnessUnit, Stiffness>(text, From, styles, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Wavenumber"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Wavenumber"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="Wavenumber"/></param> /// <returns>True if an instance of <see cref="Wavenumber"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out Wavenumber result) { return(QuantityParser.TryParse <WavenumberUnit, Wavenumber>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
public static bool TryParse(string text, out Acceleration result) { return(QuantityParser.TryParse <AccelerationUnit, Acceleration>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Wavenumber"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Wavenumber"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <param name="result">The parsed <see cref="Wavenumber"/></param> /// <returns>True if an instance of <see cref="Wavenumber"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Wavenumber result) { return(QuantityParser.TryParse <WavenumberUnit, Wavenumber>(text, From, styles, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Temperature"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Temperature"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="Temperature"/></param> /// <returns>True if an instance of <see cref="Temperature"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out Temperature result) { return(QuantityParser.TryParse <TemperatureUnit, Temperature>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
public static bool TryParse(string text, out Data result) { return(QuantityParser.TryParse <DataUnit, Data>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.MagneticFieldStrength"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.MagneticFieldStrength"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="MagneticFieldStrength"/></param> /// <returns>True if an instance of <see cref="MagneticFieldStrength"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out MagneticFieldStrength result) { return(QuantityParser.TryParse <MagneticFieldStrengthUnit, MagneticFieldStrength>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
public static bool TryParse(string text, IFormatProvider provider, out Data result) { return(QuantityParser.TryParse <DataUnit, Data>(text, From, NumberStyles.Float, provider, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Jerk"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Jerk"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="Jerk"/></param> /// <returns>True if an instance of <see cref="Jerk"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out Jerk result) { return(QuantityParser.TryParse <JerkUnit, Jerk>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
public static bool TryParse(string text, out AnglePerUnitless result) { return(QuantityParser.TryParse <AnglePerUnitlessUnit, AnglePerUnitless>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.AngularAcceleration"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.AngularAcceleration"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="AngularAcceleration"/></param> /// <returns>True if an instance of <see cref="AngularAcceleration"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out AngularAcceleration result) { return(QuantityParser.TryParse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
public static bool TryParse(string text, IFormatProvider provider, out AnglePerUnitless result) { return(QuantityParser.TryParse <AnglePerUnitlessUnit, AnglePerUnitless>(text, From, NumberStyles.Float, provider, out result)); }
public static bool TryParse(string text, NumberStyles styles, out Energy result) { return(QuantityParser.TryParse <EnergyUnit, Energy>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Stiffness"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Stiffness"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="Stiffness"/></param> /// <returns>True if an instance of <see cref="Stiffness"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out Stiffness result) { return(QuantityParser.TryParse <StiffnessUnit, Stiffness>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
public static bool TryParse(string text, out Torque result) { return(QuantityParser.TryParse <TorqueUnit, Torque>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture, out result)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.KinematicViscosity"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.KinematicViscosity"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="result">The parsed <see cref="KinematicViscosity"/></param> /// <returns>True if an instance of <see cref="KinematicViscosity"/> could be parsed from <paramref name="text"/></returns> public static bool TryParse(string text, NumberStyles styles, out KinematicViscosity result) { return(QuantityParser.TryParse <KinematicViscosityUnit, KinematicViscosity>(text, From, styles, CultureInfo.CurrentCulture, out result)); }