Class MethodInvokerFactory
Provides a compiler for an invoke method for an instance method with injected dependencies and entity-to-component conversion.
public static class MethodInvokerFactory
- Inheritance
-
MethodInvokerFactory
- Inherited Members
Methods
Compile(MethodInfo, MethodParameterSource[], object?)
Compiles the invoker for the specified method.
public static MethodInvoker Compile(MethodInfo methodInfo, MethodParameterSource[] parameterSources, object? uninvokedReturnValue = null)
Parameters
methodInfoMethodInfoThe method information.
parameterSourcesMethodParameterSource[]The sources of the parameters.
uninvokedReturnValueobjectThe value returned if the method is not invoked when a parameter could not be converted to the correct component.
Returns
- MethodInvoker
The method invoker.