public FieldEqualityRuleExpression Matches(Expression <Func <T, object> > property) { var rule = new FieldEqualityRule(_accessor, property.ToAccessor()); _parent.Register(rule); return(new FieldEqualityRuleExpression(rule)); }
public FieldEqualityRuleExpression(FieldEqualityRule rule) { _rule = rule; }