Example #1
0
        private Expression ConstructExpression(ParameterExpression param, IRule rule, string member)
        {
            var ruleCopy = (IRule)rule.Clone();

            ruleCopy.Expression = member;

            var result = Construct(param.Type, ruleCopy, param);

            return(result);
        }