CollectionEquivalentConstraint.

ApplyConstraint<TActual>(TActual) Method

Summary

Test whether the collection is equivalent to the expected.

Syntax

protected override ConstraintResult ApplyConstraint<TActual>(TActual actual)

Type Parameters

Name Description
TActual Actual collection type.

Parameters

Name Type Description
actual TActual Actual collection to compare.

Return Value

Type Description
ConstraintResult A CollectionEquivalentConstraintResult indicating whether or not the two collections are equivalent.