Allows invocation of the method.
Namespace: Metalama.Framework.Code.Invokers
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IMethodInvoker
Methods
Name | Description |
---|---|
CreateInvokeExpression(IEnumerable<IExpression>) | |
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 |
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 |
With(IExpression, InvokerOptions) | |
With(InvokerOptions) | Gets an IMethodInvoker for the same method and target with different options. |
With(dynamic?, InvokerOptions) | Gets an IMethodInvoker for the same method but with a different target instance and optionally different options. |