Ejemplo n.º 1
0
 /// <inheritdoc cref="ThermalConductivity.FromBtusPerHourFootFahrenheit(UnitsNet.QuantityValue)" />
 public static ThermalConductivity BtusPerHourFootFahrenheit <T>(this T value) => ThermalConductivity.FromBtusPerHourFootFahrenheit(Convert.ToDouble(value));
Ejemplo n.º 2
0
 /// <inheritdoc cref="ThermalConductivity.FromBtusPerHourFootFahrenheit(UnitsNet.QuantityValue)" />
 public static ThermalConductivity?BtusPerHourFootFahrenheit(this decimal?value) => ThermalConductivity.FromBtusPerHourFootFahrenheit(value == null ? (double?)null : Convert.ToDouble(value.Value));
Ejemplo n.º 3
0
 /// <inheritdoc cref="ThermalConductivity.FromBtusPerHourFootFahrenheit(UnitsNet.QuantityValue)" />
 public static ThermalConductivity?BtusPerHourFootFahrenheit(this float?value) => ThermalConductivity.FromBtusPerHourFootFahrenheit(value);
Ejemplo n.º 4
0
 /// <inheritdoc cref="ThermalConductivity.FromBtusPerHourFootFahrenheit(UnitsNet.QuantityValue)" />
 public static ThermalConductivity BtusPerHourFootFahrenheit(this double value) => ThermalConductivity.FromBtusPerHourFootFahrenheit(value);
 public static ThermalConductivity?BtusPerHourFootFahrenheit <T>(this T?value) where T : struct => ThermalConductivity.FromBtusPerHourFootFahrenheit(value == null ? (double?)null : Convert.ToDouble(value.Value));
 public void NumberToBtusPerHourFootFahrenheitTest() =>
 Assert.Equal(ThermalConductivity.FromBtusPerHourFootFahrenheit(2), 2.BtusPerHourFootFahrenheit());