Method | Description | |
---|---|---|
ExactCountConstraint ( int expectedCount, Constraint itemConstraint ) : System |
Construct an ExactCountConstraint on top of an existing constraint
|
|
Matches ( object actual ) : bool |
Apply the item constraint to each item in the collection, succeeding only if the expected number of items pass.
|
|
WriteDescriptionTo ( |
Write a description of this constraint to a MessageWriter
|
public ExactCountConstraint ( int expectedCount, Constraint itemConstraint ) : System | ||
expectedCount | int | |
itemConstraint | Constraint | |
return | System |
public WriteDescriptionTo ( |
||
writer | ||
return | void |