IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Constraints.EqualityAdapter.GenericEqualityAdapter< T > Class Template Reference
+ Inheritance diagram for NUnit.Framework.Constraints.EqualityAdapter.GenericEqualityAdapter< T >:
+ Collaboration diagram for NUnit.Framework.Constraints.EqualityAdapter.GenericEqualityAdapter< T >:

Public Member Functions

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...
 
- Public Member Functions inherited from NUnit.Framework.Constraints.EqualityAdapter
abstract bool AreEqual (object x, object y)
 Compares two objects, returning true if they are equal More...
 

Protected Member Functions

void ThrowIfNotCompatible (object x, object y)
 

Additional Inherited Members

- Static Public Member Functions inherited from NUnit.Framework.Constraints.EqualityAdapter
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...
 

Member Function Documentation

override bool NUnit.Framework.Constraints.EqualityAdapter.GenericEqualityAdapter< T >.CanCompare ( object  x,
object  y 
)
inlinevirtual

Returns true if the two objects can be compared by this adapter. Generic adapter requires objects of the specified type.

Reimplemented from NUnit.Framework.Constraints.EqualityAdapter.

void NUnit.Framework.Constraints.EqualityAdapter.GenericEqualityAdapter< T >.ThrowIfNotCompatible ( object  x,
object  y 
)
inlineprotected

The documentation for this class was generated from the following file: