public static Expression Transform (Expression expression, IExpressionTranformationProvider tranformationProvider)
 {
   ArgumentUtility.CheckNotNull ("tranformationProvider", tranformationProvider);
   
   var visitor = new TransformingExpressionTreeVisitor (tranformationProvider);
   return visitor.VisitExpression (expression);
 }
Exemplo n.º 2
0
        public static Expression Transform(Expression expression, IExpressionTranformationProvider tranformationProvider)
        {
            ArgumentUtility.CheckNotNull("tranformationProvider", tranformationProvider);

            var visitor = new TransformingExpressionTreeVisitor(tranformationProvider);

            return(visitor.VisitExpression(expression));
        }