xUnit.net
Public Member Functions | List of all members
Xunit.Sdk.AssertEqualityComparerAdapter< T > Class Template Reference

A class that wraps IEqualityComparer<T> to create IEqualityComparer. More...

Inheritance diagram for Xunit.Sdk.AssertEqualityComparerAdapter< T >:

Public Member Functions

 AssertEqualityComparerAdapter (IEqualityComparer< T > innerComparer)
 Initializes a new instance of the AssertEqualityComparerAdapter<T> class. More...
 
new bool Equals (object x, object y)
 
int GetHashCode (object obj)
 

Detailed Description

A class that wraps IEqualityComparer<T> to create IEqualityComparer.

Template Parameters
TThe type that is being compared.

Constructor & Destructor Documentation

◆ AssertEqualityComparerAdapter()

Xunit.Sdk.AssertEqualityComparerAdapter< T >.AssertEqualityComparerAdapter ( IEqualityComparer< T >  innerComparer)
inline

Initializes a new instance of the AssertEqualityComparerAdapter<T> class.

Parameters
innerComparerThe comparer that is being adapted.

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