public IConstraintGroup New(PropertyComparisonExpression exp) { return(new PropertyConstraint(exp) { Context = this }); }
internal PropertyConstraint(PropertyComparisonExpression exp) { this.Property = exp.Property; this.ConcreteType = exp.Owner; this.Operator = exp.Operator; this.Value = exp.Value; }
private PropertyConstraint ConstrainProperty(PropertyComparisonExpression exp) { var constraint = new PropertyConstraint(exp) { Context = Context, }; return(constraint); }
public IConstraintGroup Or(PropertyComparisonExpression exp) { var constraint = ConstrainProperty(exp); return(this.Or(constraint)); }
public IConstraintGroup Or(PropertyComparisonExpression exp) { var constraint = ConstrainProperty(exp); return this.Or(constraint); }
private PropertyConstraint ConstrainProperty(PropertyComparisonExpression exp) { var constraint = new PropertyConstraint(exp) { Context = Context, }; return constraint; }
public IConstraintGroup New(PropertyComparisonExpression exp) { return new PropertyConstraint(exp) { Context = this }; }