KeyEqualityComparer<TSource,TKey> class
An EqualityComparer which tests equality on a key type
public class KeyEqualityComparer<TSource, TKey> : EqualityComparer<TSource>
| parameter |
description |
| TSource |
The source object type |
| TKey |
The key object type |
Public Members
| name |
description |
| KeyEqualityComparer(…) |
Initializes a new instance of the KeyEqualityComparer class. |
| override Equals(…) |
Determines whether two objects are equal. |
| override GetHashCode(…) |
Serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table. |
See Also