C# Класс NUnit.Framework.Constraints.ExactCountOperator

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

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

Метод Описание
ExactCountOperator ( int expectedCount ) : System

Construct an ExactCountOperator for a specified count

Reduce ( NUnit.Framework.Constraints.ConstraintBuilder stack ) : void

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.

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

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

Construct an ExactCountOperator for a specified count
public ExactCountOperator ( int expectedCount ) : System
expectedCount int The expected count
Результат System

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

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.
public Reduce ( NUnit.Framework.Constraints.ConstraintBuilder stack ) : void
stack NUnit.Framework.Constraints.ConstraintBuilder
Результат void