EqualConstraint<TExpected>.

Using<T>(IComparer<T>) Method

Summary

Flag the constraint to use the supplied IComparer object.
Namespace
TCLite.Constraints
Containing Type
EqualConstraint<TExpected>

Syntax

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

Type Parameters

Name Description
T

Parameters

Name Type Description
comparer IComparer<T> The IComparer object to use.

Return Value

Type Description
EqualConstraint<TExpected> Self.