C# 클래스 PclUnit.Constraints.Pieces.PropOperator

Operator used to test for the presence of a named Property on an object and optionally apply further tests to the value of that property.
상속: SelfResolvingOperator
파일 보기 프로젝트 열기: jbtule/PclUnit

공개 메소드들

메소드 설명
PropOperator ( string name )

Constructs a PropOperator for a particular named property

Reduce ( 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.

메소드 상세

PropOperator() 공개 메소드

Constructs a PropOperator for a particular named property
public PropOperator ( string name )
name string

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 ( ConstraintBuilder stack ) : void
stack ConstraintBuilder
리턴 void