ConstraintExpression.

Exactly(int) Method

Summary

Returns a ConstraintExpression, which will apply the following constraint to all members of a collection, succeeding only if a specified number of them succeed.
Namespace
TCLite.Constraints
Containing Type
ConstraintExpression

Syntax

public ItemsConstraintExpression Exactly(int expectedCount)

Parameters

Name Type Description
expectedCount int

Return Value

Type Description
ItemsConstraintExpression