System::Collections::Generic Namespace Reference

Classes

class  _KeyCollection
 
class  _KeyList
 
class  _ValueCollection
 
class  _ValueList
 
class  ArrayList
 
class  BaseDictionary
 
class  BaseEnumerator
 
class  BaseKVCollection
 
struct  ComparerAdapter
 
class  DefaultComparer
 
class  Dictionary
 Forward declaration of Dictionary class. More...
 
struct  DictionaryHashSelector
 
struct  DictionaryHashSelector< T, typename std::enable_if< std::is_enum< T >::value >::type >
 
struct  DictionaryHashSelector< T, typename std::enable_if< System::detail::has_method_gethashcode< T >::value >::type >
 
struct  DictionaryHashSelector< T, typename std::enable_if< System::detail::has_ref_method_gethashcode< T >::value &&!System::detail::has_method_gethashcode< T >::value >::type >
 
class  DictionaryPtr
 
class  EnumerableExt
 
struct  EqualityComparerAdapter
 
struct  EqualityComparerHashAdapter
 
class  HashDictionary
 
class  HashSet
 Forward declaration of HashSet class. More...
 
class  HashSetPtr
 
class  ICollection
 
class  IComparer
 
class  IDictionary
 
class  IEnumerable
 
class  IEnumerator
 
class  IEqualityComparer
 
class  IKVCollection
 
class  IList
 
class  ISet
 
class  KeyValuePair
 
class  KVPairIterator
 
class  LinkedList
 LinkedList forward declaration. More...
 
class  LinkedListNode
 
class  List
 List forward declaration. More...
 
class  ListExt
 generic List class that implements IListWrapper interface More...
 
class  ListPtr
 
class  Queue
 Queue class forward declaration. More...
 
class  QueuePtr
 
class  ReverseEnumerator
 
class  SimpleEnumerator
 
class  SortedDictionary
 Sorted dictionary type forward declaration. More...
 
class  SortedDictionaryPtr
 
class  SortedList
 
class  SortedListHelper
 
class  Stack
 Stack class forward declaration. More...
 
class  StackPtr
 

Functions

template<typename TKey , typename TValue >
bool operator== (const KeyValuePair< TKey, TValue > &left, const KeyValuePair< TKey, TValue > &right)
 
template<typename TKey , typename TValue >
bool operator!= (const KeyValuePair< TKey, TValue > &left, const KeyValuePair< TKey, TValue > &right)
 

Function Documentation

◆ operator!=()

template<typename TKey , typename TValue >
bool System::Collections::Generic::operator!= ( const KeyValuePair< TKey, TValue > &  left,
const KeyValuePair< TKey, TValue > &  right 
)

Compares two key-value pairs using inverse 'equals' semantics.

Template Parameters
TKeyKey type.
TValueValue type.
Parameters
leftLHS operand.
rightRHS operand.
Returns
True if both keys and values don't match, false otherwise.

◆ operator==()

template<typename TKey , typename TValue >
bool System::Collections::Generic::operator== ( const KeyValuePair< TKey, TValue > &  left,
const KeyValuePair< TKey, TValue > &  right 
)

Compares two key-value pairs using 'equals' semantics. Uses operator == or EqualsTo method for both keys and values, whichever is defined.

Template Parameters
TKeyKey type.
TValueValue type.
Parameters
leftLHS operand.
rightRHS operand.
Returns
True if both keys and values match, false otherwise.