Пример #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;
 }