CSharpUtilities::PairList< TFirst, TSecond > Class Template Reference


Detailed Description

template<TFirst, TSecond>
class CSharpUtilities::PairList< TFirst, TSecond >

Ordered associative list.

Template Parameters:
TFirst Type of the first item in each Pair.
TSecond Type of the second item in each Pair.

List of all members.

Public Member Functions

List< TFirst >  CreateListOfFirstValues ()
  Produce a List of the just the First items from each Pair in this PairList.
List< TSecond >  CreateListOfSecondValues ()
  Produce a List of the just the Second items from each Pair in this PairList.

Member Function Documentation

template<TFirst , TSecond >
List<TFirst> CSharpUtilities::PairList< TFirst, TSecond >::CreateListOfFirstValues ( ) [inline]

Produce a List of the just the First items from each Pair in this PairList.

Returns:
A List of the just the First items from each Pair in this PairList.
template<TFirst , TSecond >
List<TSecond> CSharpUtilities::PairList< TFirst, TSecond >::CreateListOfSecondValues ( ) [inline]

Produce a List of the just the Second items from each Pair in this PairList.

Returns:
A List of the just the Second items from each Pair in this PairList.