C# Класс PclUnit.Constraints.Pieces.ExactCountOperator

Represents a constraint that succeeds if the specified count of members of a collection match a base constraint.
Наследование: CollectionOperator
Показать файл Открыть проект

Открытые методы

Метод Описание
ApplyPrefix ( Constraint constraint ) : Constraint

Returns a constraint that will apply the argument to the members of a collection, succeeding if none of them succeed.

ExactCountOperator ( int expectedCount )

Construct an ExactCountOperator for a specified count

Описание методов

ApplyPrefix() публичный Метод

Returns a constraint that will apply the argument to the members of a collection, succeeding if none of them succeed.
public ApplyPrefix ( Constraint constraint ) : Constraint
constraint Constraint
Результат Constraint

ExactCountOperator() публичный Метод

Construct an ExactCountOperator for a specified count
public ExactCountOperator ( int expectedCount )
expectedCount int The expected count