コード例 #1
0
 public ValidatorConstraintFactory(ConstraintFactory pre, string verb) : base(pre, verb)
 {
     Be   = new ConstraintFactory(this, "Be");
     Have = new ConstraintFactory(this, "Have");
 }
コード例 #2
0
 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");
 }
コード例 #5
0
 public ValidatorConstraintFactory(ConstraintFactory pre, string context)
     : base(pre, context)
 {
     Be = new ConstraintFactory(this, "Be");
     Have = new ConstraintFactory(this, "Have");
 }
コード例 #6
0
 public ConstraintFactory(ConstraintFactory pre, string context)
     : this(pre != null ? pre.context + " " + context : context)
 {
 }