RangeConstraint<TExpected>.

Using<T>(IComparer<T>) Method

Summary

Modifies the constraint to use an IComparer<T> and returns self
Namespace
TCLite.Constraints
Containing Type
RangeConstraint<TExpected>

Syntax

public RangeConstraint<TExpected> Using<T>(IComparer<T> comparer)

Type Parameters

Name Description
T

Parameters

Name Type Description
comparer IComparer<T>

Return Value

Type Description
RangeConstraint<TExpected>