Temperature(Double, Type) Constructor

Creates a new instance of Temperature 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 Temperature(
	double value,
	Type unitType
)

Parameters

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

Exceptions

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

See Also