Performs type-specific equality comparisons and hashCode generation using the functions supplied to the constructor.
More...
|
override bool | Equals (T t1, T t2) |
|
| FuncEqualityComparer (DelegateFunc< T, T, bool > equals) |
| Instantiate an equality comparer for type T using the specified equality function and T.GetHashCode() More...
|
|
| FuncEqualityComparer (DelegateFunc< T, T, bool > equals, DelegateFunc< T, int > hashCode) |
| Instantiate an equality comparer for type T with the specified equality and hashCode functions More...
|
|
| FuncEqualityComparer (IEqualityComparer< T > equalityComparer) |
|
override int | GetHashCode (T t) |
|
|
static IEqualityComparer< T > | Default [get, set] |
|
Performs type-specific equality comparisons and hashCode generation using the functions supplied to the constructor.
Smooth.Comparisons.FuncEqualityComparer< T >.FuncEqualityComparer |
( |
DelegateFunc< T, T, bool > |
equals | ) |
|
|
inline |
Instantiate an equality comparer for type T using the specified equality function and T.GetHashCode()
Smooth.Comparisons.FuncEqualityComparer< T >.FuncEqualityComparer |
( |
DelegateFunc< T, T, bool > |
equals, |
|
|
DelegateFunc< T, int > |
hashCode |
|
) |
| |
|
inline |
Instantiate an equality comparer for type T with the specified equality and hashCode functions
Smooth.Comparisons.FuncEqualityComparer< T >.FuncEqualityComparer |
( |
IEqualityComparer< T > |
equalityComparer | ) |
|
|
inline |
override bool Smooth.Comparisons.FuncEqualityComparer< T >.Equals |
( |
T |
t1, |
|
|
T |
t2 |
|
) |
| |
|
inlinevirtual |
override int Smooth.Comparisons.FuncEqualityComparer< T >.GetHashCode |
( |
T |
t | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: