public ValidatorConstraintFactory(ConstraintFactory pre, string verb) : base(pre, verb)
 {
     Be   = new ConstraintFactory(this, "Be");
     Have = new ConstraintFactory(this, "Have");
 }
 public ConstraintFactory(ConstraintFactory pre, string verb)
 {
     this.pre  = pre;
     this.verb = verb;
 }
示例#3
0
 public ConstraintFactory(ConstraintFactory pre, string context) : this(pre != null ? pre.context + " " + context : context)
 {
 }
示例#4
0
 public ValidatorConstraintFactory(ConstraintFactory pre, string context)
     : base(pre, context)
 {
     Be   = new ConstraintFactory(this, "be");
     Have = new ConstraintFactory(this, "have");
 }
 public ValidatorConstraintFactory(ConstraintFactory pre, string context)
     : base(pre, context)
 {
     Be = new ConstraintFactory(this, "Be");
     Have = new ConstraintFactory(this, "Have");
 }
 public ConstraintFactory(ConstraintFactory pre, string context)
     : this(pre != null ? pre.context + " " + context : context)
 {
 }