コード例 #1
0
            public FieldEqualityRuleExpression Matches(Expression <Func <T, object> > property)
            {
                var rule = new FieldEqualityRule(_accessor, property.ToAccessor());

                _parent.Register(rule);
                return(new FieldEqualityRuleExpression(rule));
            }
コード例 #2
0
 public FieldEqualityRuleExpression(FieldEqualityRule rule)
 {
     _rule = rule;
 }