Generic Pair structure, often useful for keeping ordered lists of associated objects.
| TFirst | Type for the first item in the pair. |
| TSecond | Type for the second item in the pair. |
Public Member Functions |
|
| Pair (TFirst aFirst, TSecond aSecond) | |
| Constructor. |
|
| override int | GetHashCode () |
| Get a hash code for this object. |
|
| override bool | Equals (Object o) |
| Determine if this
Pair is equal to the passed in Object. |
|
Properties |
|
| TFirst |
First [get] |
| The first item in the
Pair. |
|
| TSecond |
Second [get] |
| The second item in the
Pair. |
|
| CSharpUtilities::Pair< TFirst, TSecond >::Pair | ( | TFirst | aFirst, |
| TSecond | aSecond | ||
| ) | [inline] |
Constructor.
| aFirst | First item |
| aSecond | Second item |
| override int CSharpUtilities::Pair< TFirst, TSecond >::GetHashCode | ( | ) | [inline] |
Get a hash code for this object.
| override bool CSharpUtilities::Pair< TFirst, TSecond >::Equals | ( | Object | o | ) | [inline] |
TFirst CSharpUtilities::Pair<
TFirst, TSecond >::First [get] |
The first item in the Pair.
TSecond CSharpUtilities::Pair<
TFirst, TSecond >::Second [get] |
The second item in the Pair.