コード例 #1
0
 public static Expression Transform (Expression expression, IExpressionTranformationProvider tranformationProvider)
 {
   ArgumentUtility.CheckNotNull ("tranformationProvider", tranformationProvider);
   
   var visitor = new TransformingExpressionVisitor (tranformationProvider);
   return visitor.Visit (expression);
 }
コード例 #2
0
        public static Expression Transform(Expression expression, IExpressionTranformationProvider tranformationProvider)
        {
            ArgumentUtility.CheckNotNull("tranformationProvider", tranformationProvider);

            var visitor = new TransformingExpressionVisitor(tranformationProvider);

            return(visitor.Visit(expression));
        }