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