C# 클래스 UnityEngine.NUnit.Framework.Constraints.ExactCountOperator

Represents a constraint that succeeds if the specified count of members of a collection match a base constraint.
상속: CollectionOperator
파일 보기 프로젝트 열기: Unity-Technologies/nunitv2

공개 메소드들

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