ComparerNullEqualityComparer<T>
Note: this will give a new EqualityComparer each time created!
Type parameters: | |
T |
IEqualityComparer<T>
object
ComparerNullEqualityComparer<T>(IComparer<T> comparer)
Equals(T item1, T item2)
,Equals(object obj)
, Inherited from object,Finalize()
, Inherited from object,GetHashCode(T item)
,GetHashCode()
, Inherited from object,GetType()
, Inherited from object,MemberwiseClone()
, Inherited from object,ToString()
, Inherited from object ComparerNullEqualityComparer<T>(IComparer<T> comparer) |
Create a trivial IEqualityComparer<T> compatible with the
IComparer<T>comparer
|
F bool Equals(T item1, T item2) |
Equality of two items as defined by the comparer.
| |||||||
F int GetHashCode(T item) |
A trivial, inefficient hash fuction. Compatible with any equality relation.
|