Invoke(params dynamic?[])
Generates run-time code that invokes the current constructor with a given list of arguments.
Declaration
dynamic? Invoke(params dynamic?[] args)Parameters
| Type | Name | Description |
|---|---|---|
| dynamic[] | args | A list of run-time C# expressions to be passed to the constructor. If the compile-time type
of any expression is |
Returns
| Type | Description |
|---|---|
| dynamic |
Invoke(IEnumerable<IExpression>)
Generates run-time code that invokes the current constructor with a given list of argument expressions.
Declaration
dynamic? Invoke(IEnumerable<IExpression> args)Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IExpression> | args | The list of compile-time IExpression objects passed to the method as arguments. |
Returns
| Type | Description |
|---|---|
| dynamic |
Remarks
A compile-time dynamic object that represents the method invocation expression.