Method | Description | |
---|---|---|
CompareTo ( object obj ) : int |
Compares two unit values to determine if they are equal or not.
|
|
Equals ( object obj ) : bool |
Determines if two values are equal.
|
|
GetHashCode ( ) : int |
Returns the hash code of the unit value object.
|
|
NaN ( ) : |
Returns a UnitValue representing an invalid value.
|
|
UnitValue ( double value, Unit unit ) : System |
Instantiates a new instance of the UnitValue struct.
|
|
operator ( ) : bool |
Determines whether two unit value objects are equal.
|
public CompareTo ( object obj ) : int | ||
obj | object | The object being compared. |
return | int |
public UnitValue ( double value, Unit unit ) : System | ||
value | double | The value associated with the units. |
unit | Unit | The units associated with the value. |
return | System |