C# Class Habanero.Faces.Base.ComboPair

Holds a key-value pair that provides a single item for a ComboBox. The key is the string value shown and the value holds the underlying object, such as a BusinessObject or specific Guid
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

Méthode Description
ComboPair ( string key, object value ) : System

The pair of values shown in the Combo Box (i.e. the Key, Value Pair) ComboPair

Equals ( object obj ) : bool

Indicates whether this ComboPair has exactly the same key and value as another

GetHashCode ( ) : int

Returns the hashcode of the key and value

ToString ( ) : string

Returns the key value being displayed

operator ( ) : System.Boolean

Indicates if two ComboPairs differ in either their keys or values

operator ( ) : bool

Indicates if two ComboPairs have the same key and value

Method Details

ComboPair() public méthode

The pair of values shown in the Combo Box (i.e. the Key, Value Pair) ComboPair
public ComboPair ( string key, object value ) : System
key string
value object
Résultat System

Equals() public méthode

Indicates whether this ComboPair has exactly the same key and value as another
public Equals ( object obj ) : bool
obj object The ComboPair to compare with
Résultat bool

GetHashCode() public méthode

Returns the hashcode of the key and value
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns the key value being displayed
public ToString ( ) : string
Résultat string

operator() public static méthode

Indicates if two ComboPairs differ in either their keys or values
public static operator ( ) : System.Boolean
Résultat System.Boolean

operator() public static méthode

Indicates if two ComboPairs have the same key and value
public static operator ( ) : bool
Résultat bool