コード例 #1
0
 public Expression TransformFunction(FunctionCall expr)
 {
     Expression[] newArgs = new Expression[expr.Arguments.Length];
     for (int i = 0; i < newArgs.Length; i++)
     {
         newArgs[i] = expr.Arguments[i].Transform(this);
     }
     return(expr.CloneThis(newArgs));
 }
コード例 #2
0
 /// <summary>
 /// Transforms a function call expression. The default implementation clones it.
 /// </summary>
 /// <param name="expr">function call expression</param>
 /// <returns>transformation result</returns>
 public virtual Expression TransformFunction(FunctionCall expr)
 {
     return(expr.CloneThis(expr.Children.Select(e => e.Transform(this)).ToArray()));
 }
コード例 #3
0
 /// <summary>
 /// Transforms a function call expression. The default implementation clones it.
 /// </summary>
 /// <param name="expr">function call expression</param>
 /// <returns>transformation result</returns>
 public virtual Expression TransformFunction(FunctionCall expr)
 {
     return expr.CloneThis(expr.Children.Select(e => e.Transform(this)).ToArray());
 }