Summary
Flag the constraint to use the supplied IEqualityComparer object.
- Namespace
- TCLite
.Constraints - Containing Type
- EqualConstraint
<TExpected>
Syntax
public EqualConstraint<TExpected> Using<T>(IEqualityComparer<T> comparer)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
comparer | IEqualityComparer |
The IComparer object to use. |
Return Value
Type | Description |
---|---|
EqualConstraint |
Self. |