Metalama (preview)API documentationAspect APIMetalama.​Framework.​Code.​InvokersIConstructor­InvokerInvoke
Open sandboxFocus

IConstructorInvoker.Invoke Method

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
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
Returns
Type Description
dynamic