Example #1
0
 /// <summary>
 /// Creates a new instance of <see cref="T:Gu.Units.VolumetricFlow"/>.
 /// </summary>
 /// <param name="value"></param>
 /// <param name="unit"></param>
 public static VolumetricFlow From(double value, VolumetricFlowUnit unit)
 {
     return(new VolumetricFlow(unit.ToSiUnit(value)));
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="T:Gu.Units.VolumetricFlow"/>.
 /// </summary>
 /// <param name="value"></param>
 /// <param name="unit"><see cref="T:Gu.Units.CubicMetresPerSecond"/>.</param>
 public VolumetricFlow(double value, VolumetricFlowUnit unit)
 {
     this.cubicMetresPerSecond = unit.ToSiUnit(value);
 }