Mass(Double, Type) Constructor

Creates a new instance of Mass with a particular value and Unit whose Type is specified

Definition

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.2.9017.0
C#
public Mass(
	double value,
	Type unitType
)

Parameters

value  Double
The value of the Mass to use.
unitType  Type
The Type of Unit to use.

Exceptions

IncompatibleUnitExceptionThrown if Mass is not the type that the Unit applies to.

See Also