public static int Count(Expression expression, Predicate <Expression> isMatch) { var finder = new ExpressionCounter(isMatch); finder.Visit(expression); return(finder.count); }
public static int Count(Expression expression, Predicate<Expression> isMatch) { var finder = new ExpressionCounter(isMatch); finder.Visit(expression); return finder.count; }