Open sandboxFocus

Method Invoke

Invoke(params dynamic?[])

Generates run-time code that invokes the current method with a given list of arguments. By default, the target instance of the method is this unless the method is static, and the base implementation of the method is invoked, i.e. the implementation before the current aspect layer. To change the default values, or to use the ?. null-conditional operator, use the With(InvokerOptions) method.

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 method with a given list of argument expressions. By default, the target instance of the method is this unless the method is static, and the base implementation of the method is invoked, i.e. the implementation before the current aspect layer. To change the default values, or to use the ?. null-conditional operator, use the With(InvokerOptions) method.

Declaration
dynamic? Invoke(IEnumerable<IExpression> args)
Parameters
Type Name Description
IEnumerable<IExpression> args
Returns
Type Description
dynamic