public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out ForcePerUnitless result)
 {
     return(QuantityParser.TryParse <ForcePerUnitlessUnit, ForcePerUnitless>(text, From, styles, provider, out result));
 }
Ejemplo n.º 2
0
 /// <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="styles">Specifies the <see cref="NumberStyles"/> to be used.</param>
 /// <returns>The <see cref="Gu.Units.LuminousIntensity"/> parsed from <paramref name="text"/></returns>
 public static LuminousIntensity Parse(string text, NumberStyles styles)
 {
     return(QuantityParser.Parse <LuminousIntensityUnit, LuminousIntensity>(text, From, styles, CultureInfo.CurrentCulture));
 }
Ejemplo n.º 3
0
 /// <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="styles">Specifies the <see cref="NumberStyles"/> to be used.</param>
 /// <param name="result">The parsed <see cref="LuminousIntensity"/></param>
 /// <returns>True if an instance of <see cref="LuminousIntensity"/> could be parsed from <paramref name="text"/></returns>
 public static bool TryParse(string text, NumberStyles styles, out LuminousIntensity result)
 {
     return(QuantityParser.TryParse <LuminousIntensityUnit, LuminousIntensity>(text, From, styles, CultureInfo.CurrentCulture, out result));
 }
Ejemplo n.º 4
0
 /// <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="result">The parsed <see cref="MagneticFlux"/></param>
 /// <returns>True if an instance of <see cref="MagneticFlux"/> could be parsed from <paramref name="text"/></returns>
 public static bool TryParse(string text, NumberStyles styles, out MagneticFlux result)
 {
     return(QuantityParser.TryParse <MagneticFluxUnit, MagneticFlux>(text, From, styles, CultureInfo.CurrentCulture, out result));
 }
Ejemplo n.º 5
0
 /// <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));
 }
Ejemplo n.º 6
0
 public static Conductivity Parse(string text, NumberStyles styles)
 {
     return(QuantityParser.Parse <ConductivityUnit, Conductivity>(text, From, styles, CultureInfo.CurrentCulture));
 }
Ejemplo n.º 7
0
 public static bool TryParse(string text, NumberStyles styles, out Conductivity result)
 {
     return(QuantityParser.TryParse <ConductivityUnit, Conductivity>(text, From, styles, CultureInfo.CurrentCulture, out result));
 }
Ejemplo n.º 8
0
 public static Power Parse(string text, NumberStyles styles, IFormatProvider provider)
 {
     return(QuantityParser.Parse <PowerUnit, Power>(text, From, styles, provider));
 }
Ejemplo n.º 9
0
 public static bool TryParse(string text, NumberStyles styles, out Power result)
 {
     return(QuantityParser.TryParse <PowerUnit, Power>(text, From, styles, CultureInfo.CurrentCulture, out result));
 }
Ejemplo n.º 10
0
 /// <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>
 /// <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, IFormatProvider provider, out Resistance result)
 {
     return(QuantityParser.TryParse <ResistanceUnit, Resistance>(text, From, NumberStyles.Float, provider, out result));
 }
Ejemplo n.º 11
0
 public static Power Parse(string text, NumberStyles styles)
 {
     return(QuantityParser.Parse <PowerUnit, Power>(text, From, styles, CultureInfo.CurrentCulture));
 }
Ejemplo n.º 12
0
 /// <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="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, out Resistance result)
 {
     return(QuantityParser.TryParse <ResistanceUnit, Resistance>(text, From, NumberStyles.Float, CultureInfo.CurrentCulture, out result));
 }
Ejemplo n.º 13
0
 /// <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));
 }
Ejemplo n.º 14
0
 /// <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));
 }
Ejemplo n.º 15
0
 /// <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));
 }
Ejemplo n.º 16
0
 public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Power result)
 {
     return(QuantityParser.TryParse <PowerUnit, Power>(text, From, styles, provider, out result));
 }
Ejemplo n.º 17
0
 /// <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));
 }
 public static AngularAcceleration Parse(string text, NumberStyles styles)
 {
     return(QuantityParser.Parse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, CultureInfo.CurrentCulture));
 }
Ejemplo n.º 19
0
 public static Conductivity Parse(string text, NumberStyles styles, IFormatProvider provider)
 {
     return(QuantityParser.Parse <ConductivityUnit, Conductivity>(text, From, styles, provider));
 }
 public static AngularAcceleration Parse(string text, NumberStyles styles, IFormatProvider provider)
 {
     return(QuantityParser.Parse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, provider));
 }
Ejemplo n.º 21
0
 public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Conductivity result)
 {
     return(QuantityParser.TryParse <ConductivityUnit, Conductivity>(text, From, styles, provider, out result));
 }
 public static bool TryParse(string text, NumberStyles styles, out AngularAcceleration result)
 {
     return(QuantityParser.TryParse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, CultureInfo.CurrentCulture, out result));
 }
Ejemplo n.º 23
0
 /// <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>
 /// <param name="result">The parsed <see cref="MagneticFlux"/></param>
 /// <returns>True if an instance of <see cref="MagneticFlux"/> could be parsed from <paramref name="text"/></returns>
 public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out MagneticFlux result)
 {
     return(QuantityParser.TryParse <MagneticFluxUnit, MagneticFlux>(text, From, styles, provider, out result));
 }
 public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out AngularAcceleration result)
 {
     return(QuantityParser.TryParse <AngularAccelerationUnit, AngularAcceleration>(text, From, styles, provider, out result));
 }
Ejemplo n.º 25
0
 /// <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));
 }
Ejemplo n.º 26
0
 /// <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="result">The parsed <see cref="Illuminance"/></param>
 /// <returns>True if an instance of <see cref="Illuminance"/> could be parsed from <paramref name="text"/></returns>
 public static bool TryParse(string text, NumberStyles styles, out Illuminance result)
 {
     return(QuantityParser.TryParse <IlluminanceUnit, Illuminance>(text, From, styles, CultureInfo.CurrentCulture, out result));
 }
Ejemplo n.º 27
0
 /// <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="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.LuminousIntensity"/> parsed from <paramref name="text"/></returns>
 public static LuminousIntensity Parse(string text, NumberStyles styles, IFormatProvider provider)
 {
     return(QuantityParser.Parse <LuminousIntensityUnit, LuminousIntensity>(text, From, styles, provider));
 }
Ejemplo n.º 28
0
 /// <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>
 /// <param name="result">The parsed <see cref="Illuminance"/></param>
 /// <returns>True if an instance of <see cref="Illuminance"/> could be parsed from <paramref name="text"/></returns>
 public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out Illuminance result)
 {
     return(QuantityParser.TryParse <IlluminanceUnit, Illuminance>(text, From, styles, provider, out result));
 }
Ejemplo n.º 29
0
 /// <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="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="LuminousIntensity"/></param>
 /// <returns>True if an instance of <see cref="LuminousIntensity"/> could be parsed from <paramref name="text"/></returns>
 public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out LuminousIntensity result)
 {
     return(QuantityParser.TryParse <LuminousIntensityUnit, LuminousIntensity>(text, From, styles, provider, out result));
 }
 public static bool TryParse(string text, NumberStyles styles, out ForcePerUnitless result)
 {
     return(QuantityParser.TryParse <ForcePerUnitlessUnit, ForcePerUnitless>(text, From, styles, CultureInfo.CurrentCulture, out result));
 }