IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Public Member Functions | |
EqualityComparerAdapter (IEqualityComparer< T > comparer) | |
override bool | AreEqual (object x, object y) |
Compares two objects, returning true if they are equal More... | |
![]() | |
override bool | CanCompare (object x, object y) |
Returns true if the two objects can be compared by this adapter. Generic adapter requires objects of the specified type. More... | |
Private Attributes | |
IEqualityComparer< T > | comparer |
Additional Inherited Members | |
![]() | |
static EqualityAdapter | For (IComparer comparer) |
Returns an EqualityAdapter that wraps an IComparer. More... | |
static EqualityAdapter | For (IEqualityComparer comparer) |
Returns an EqualityAdapter that wraps an IEqualityComparer. More... | |
static EqualityAdapter | For< T > (IEqualityComparer< T > comparer) |
Returns an EqualityAdapter that wraps an IEqualityComparer{T}. More... | |
static EqualityAdapter | For< T > (IComparer< T > comparer) |
Returns an EqualityAdapter that wraps an IComparer{T}. More... | |
static EqualityAdapter | For< T > (Comparison< T > comparer) |
Returns an EqualityAdapter that wraps a Comparison{T}. More... | |
![]() | |
void | ThrowIfNotCompatible (object x, object y) |
|
inline |
|
inlinevirtual |
Compares two objects, returning true if they are equal
Implements NUnit.Framework.Constraints.EqualityAdapter.
|
private |