C# Class WinRTXamlToolkit.Controls.DataVisualization.Charting.UnitValue

A value in units.
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Methods

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 ( ) : UnitValue

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.

Method Details

CompareTo() public method

Compares two unit values to determine if they are equal or not.
public CompareTo ( object obj ) : int
obj object The object being compared.
return int

Equals() public method

Determines if two values are equal.
public Equals ( object obj ) : bool
obj object The other value.
return bool

GetHashCode() public method

Returns the hash code of the unit value object.
public GetHashCode ( ) : int
return int

NaN() public static method

Returns a UnitValue representing an invalid value.
public static NaN ( ) : UnitValue
return UnitValue

UnitValue() public method

Instantiates a new instance of the UnitValue struct.
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

operator() public static method

Determines whether two unit value objects are equal.
public static operator ( ) : bool
return bool