C# 클래스 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
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ComboPair() 공개 메소드

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
리턴 System

Equals() 공개 메소드

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
리턴 bool

GetHashCode() 공개 메소드

Returns the hashcode of the key and value
public GetHashCode ( ) : int
리턴 int

ToString() 공개 메소드

Returns the key value being displayed
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

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

operator() 공개 정적인 메소드

Indicates if two ComboPairs have the same key and value
public static operator ( ) : bool
리턴 bool