Visit() защищенный Метод

protected Visit ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
Результат System.Linq.Expressions.Expression
Пример #1
0
        public static int Count(Expression expression, Predicate <Expression> isMatch)
        {
            var finder = new ExpressionCounter(isMatch);

            finder.Visit(expression);

            return(finder.count);
        }
Пример #2
0
		public static int Count(Expression expression, Predicate<Expression> isMatch)
		{
			var finder = new ExpressionCounter(isMatch);

			finder.Visit(expression);

			return finder.count;
		}