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
파일 보기 프로젝트 열기: nunit/nunit

공개 메소드들

메소드 설명
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