/// <summary> /// Creates an instance of <see cref="Gu.Units.Unitless"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Unitless"/></param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.Unitless"/> parsed from <paramref name="text"/></returns> public static Unitless Parse(string text, IFormatProvider provider) { return(QuantityParser.Parse <UnitlessUnit, Unitless>(text, From, NumberStyles.Float, provider)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.MagneticFlux"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.MagneticFlux"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <returns>The <see cref="Gu.Units.MagneticFlux"/> parsed from <paramref name="text"/></returns> public static MagneticFlux Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <MagneticFluxUnit, MagneticFlux>(text, From, styles, CultureInfo.CurrentCulture)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.LuminousIntensity"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.LuminousIntensity"/></param> /// <returns>The <see cref="Gu.Units.LuminousIntensity"/> parsed from <paramref name="text"/></returns> public static LuminousIntensity Parse(string text) { return(QuantityParser.Parse <LuminousIntensityUnit, LuminousIntensity>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Illuminance"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Illuminance"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <returns>The <see cref="Gu.Units.Illuminance"/> parsed from <paramref name="text"/></returns> public static Illuminance Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <IlluminanceUnit, Illuminance>(text, From, styles, CultureInfo.CurrentCulture)); }
public static Conductivity Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <ConductivityUnit, Conductivity>(text, From, styles, CultureInfo.CurrentCulture)); }
public static Power Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <PowerUnit, Power>(text, From, styles, CultureInfo.CurrentCulture)); }
public static AngularAcceleration Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, CultureInfo.CurrentCulture)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Length"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Length"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.Length"/> parsed from <paramref name="text"/></returns> public static Length Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <LengthUnit, Length>(text, From, styles, provider)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.SpecificVolume"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.SpecificVolume"/></param> /// <returns>The <see cref="Gu.Units.SpecificVolume"/> parsed from <paramref name="text"/></returns> public static SpecificVolume Parse(string text) { return(QuantityParser.Parse <SpecificVolumeUnit, SpecificVolume>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture)); }
public static AngularSpeed Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <AngularSpeedUnit, AngularSpeed>(text, From, styles, provider)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Length"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Length"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <returns>The <see cref="Gu.Units.Length"/> parsed from <paramref name="text"/></returns> public static Length Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <LengthUnit, Length>(text, From, styles, CultureInfo.CurrentCulture)); }
public static AngularSpeed Parse(string text) { return(QuantityParser.Parse <AngularSpeedUnit, AngularSpeed>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture)); }
public static Pressure Parse(string text, IFormatProvider provider) { return(QuantityParser.Parse <PressureUnit, Pressure>(text, From, NumberStyles.Float, provider)); }
public static Pressure Parse(string text) { return(QuantityParser.Parse <PressureUnit, Pressure>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture)); }
/// <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> /// <returns>The <see cref="Gu.Units.Resistance"/> parsed from <paramref name="text"/></returns> public static Resistance Parse(string text) { return(QuantityParser.Parse <ResistanceUnit, Resistance>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.SpecificVolume"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.SpecificVolume"/></param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.SpecificVolume"/> parsed from <paramref name="text"/></returns> public static SpecificVolume Parse(string text, IFormatProvider provider) { return(QuantityParser.Parse <SpecificVolumeUnit, SpecificVolume>(text, From, NumberStyles.Float, provider)); }
/// <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="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.Resistance"/> parsed from <paramref name="text"/></returns> public static Resistance Parse(string text, IFormatProvider provider) { return(QuantityParser.Parse <ResistanceUnit, Resistance>(text, From, NumberStyles.Float, provider)); }
public static Time Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <TimeUnit, Time>(text, From, styles, CultureInfo.CurrentCulture)); }
public static Power Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <PowerUnit, Power>(text, From, styles, provider)); }
public static Time Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <TimeUnit, Time>(text, From, styles, provider)); }
public static AngularAcceleration Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, provider)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.SolidAngle"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.SolidAngle"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <returns>The <see cref="Gu.Units.SolidAngle"/> parsed from <paramref name="text"/></returns> public static SolidAngle Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <SolidAngleUnit, SolidAngle>(text, From, styles, CultureInfo.CurrentCulture)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Illuminance"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Illuminance"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.Illuminance"/> parsed from <paramref name="text"/></returns> public static Illuminance Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <IlluminanceUnit, Illuminance>(text, From, styles, provider)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.SolidAngle"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.SolidAngle"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.SolidAngle"/> parsed from <paramref name="text"/></returns> public static SolidAngle Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <SolidAngleUnit, SolidAngle>(text, From, styles, provider)); }
public static Conductivity Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <ConductivityUnit, Conductivity>(text, From, styles, provider)); }
public static ForcePerUnitless Parse(string text, NumberStyles styles) { return(QuantityParser.Parse <ForcePerUnitlessUnit, ForcePerUnitless>(text, From, styles, CultureInfo.CurrentCulture)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.MagneticFlux"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.MagneticFlux"/></param> /// <param name="styles">Specifies the <see cref="NumberStyles"/> to be used.</param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.MagneticFlux"/> parsed from <paramref name="text"/></returns> public static MagneticFlux Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <MagneticFluxUnit, MagneticFlux>(text, From, styles, provider)); }
public static ForcePerUnitless Parse(string text, NumberStyles styles, IFormatProvider provider) { return(QuantityParser.Parse <ForcePerUnitlessUnit, ForcePerUnitless>(text, From, styles, provider)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.LuminousIntensity"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.LuminousIntensity"/></param> /// <param name="provider">Specifies the formatProvider to be used.</param> /// <returns>The <see cref="Gu.Units.LuminousIntensity"/> parsed from <paramref name="text"/></returns> public static LuminousIntensity Parse(string text, IFormatProvider provider) { return(QuantityParser.Parse <LuminousIntensityUnit, LuminousIntensity>(text, From, NumberStyles.Float, provider)); }
/// <summary> /// Creates an instance of <see cref="Gu.Units.Unitless"/> from its string representation /// </summary> /// <param name="text">The string representation of the <see cref="Gu.Units.Unitless"/></param> /// <returns>The <see cref="Gu.Units.Unitless"/> parsed from <paramref name="text"/></returns> public static Unitless Parse(string text) { return(QuantityParser.Parse <UnitlessUnit, Unitless>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture)); }