Initializes a new instance of the KeyEqualityComparer class.
public KeyEqualityComparer(Func<TSource, TKey?> keySelector,
IEqualityComparer<TKey>? keyComparer = null)
parameter | description |
---|---|
keySelector | The key selector delegate |
keyComparer | The IEqualityComparer used for comparison of keys |