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

A value in units.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Equals() public méthode

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

GetHashCode() public méthode

Returns the hash code of the unit value object.
public GetHashCode ( ) : int
Résultat int

NaN() public static méthode

Returns a UnitValue representing an invalid value.
public static NaN ( ) : UnitValue
Résultat UnitValue

UnitValue() public méthode

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.
Résultat System

operator() public static méthode

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