Summary
Flag the constraint to use the supplied IEqualityComparer object.
- Namespace
- TCLite
.Constraints - Containing Type
- Collection
Items Equal Constraint
Syntax
public CollectionItemsEqualConstraint 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 |
---|---|
Collection |
Self. |