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;
 }
Exemple #3
0
 public ConstraintFactory(ConstraintFactory pre, string context) : this(pre != null ? pre.context + " " + context : context)
 {
 }
Exemple #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)
 {
 }