ComparisonConstraint<TExpected>.

Using<T>(IComparer<T>) Method

Summary

Modifies the constraint to use an IComparer<T> and returns self

Syntax

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

Type Parameters

Name Description
T

Parameters

Name Type Description
comparer IComparer<T>

Return Value

Type Description
ComparisonConstraint<TExpected>