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