Επεξεργασία

Κοινή χρήση μέσω


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.

 virtual System::Linq::Expressions::Expression ^ System.Linq.Expressions.IDynamicExpression.Rewrite(cli::array <System::Linq::Expressions::Expression ^> ^ args) = System::Linq::Expressions::IDynamicExpression::Rewrite;
System.Linq.Expressions.Expression IDynamicExpression.Rewrite (System.Linq.Expressions.Expression[] args);
abstract member System.Linq.Expressions.IDynamicExpression.Rewrite : System.Linq.Expressions.Expression[] -> System.Linq.Expressions.Expression
override this.System.Linq.Expressions.IDynamicExpression.Rewrite : System.Linq.Expressions.Expression[] -> System.Linq.Expressions.Expression
Function Rewrite (args As Expression()) As Expression Implements IDynamicExpression.Rewrite

Parameters

args
Expression[]

The arguments.

Returns

Returns Expression, the rewritten expression.

Implements

Applies to