public static bool Search(Expression source, Expression node)
        {
            ExpressionSearchVisitor visitor = new ExpressionSearchVisitor(node);
            visitor.Visit(source);

            return visitor.found;
        }
示例#2
0
        public static bool Search(Expression source, Expression node)
        {
            ExpressionSearchVisitor visitor = new ExpressionSearchVisitor(node);

            visitor.Visit(source);

            return(visitor.found);
        }