DynamicExpression.IDynamicExpression.Rewrite(Expression[]) Method

Definition

Rewrite this node replacing the dynamic expression's arguments with the provided values. The number of args needs to match the number of the current expression. You should not use this type. It is only public due to assembly refactoring, and it is used internally for performance optimizations. This helper method allows re-writing of nodes to be independent of the specific implementation class deriving from DynamicExpression that is being used at the call site.

C#
System.Linq.Expressions.Expression IDynamicExpression.Rewrite(System.Linq.Expressions.Expression[] args);

Parameters

args
Expression[]

The arguments.

Returns

Returns Expression, the rewritten expression.

Implements

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0