public static Expression PartialEval(Expression expression, Func <Expression, bool> fnCanBeEvaluated) { Nominator n = new Nominator(fnCanBeEvaluated); SubtreeEvaluator se = new SubtreeEvaluator(n.Nominate(expression)); return(se.Eval(expression)); }
public static Expression PartialEval(Expression expression, Func<Expression, bool> fnCanBeEvaluated) { Nominator n = new Nominator(fnCanBeEvaluated); SubtreeEvaluator se = new SubtreeEvaluator(n.Nominate(expression)); return se.Eval(expression); }