MethodInvokerFactoryCompile Method |
Compiles the invoker for the specified method.
Namespace:
SampSharp.Entities.Utilities
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic static MethodInvoker Compile(
MethodInfo methodInfo,
MethodParameterSource[] parameterSources,
Object uninvokedReturnValue = null
)
Parameters
- methodInfo
- Type: System.ReflectionMethodInfo
The method information. - parameterSources
- Type: SampSharp.Entities.UtilitiesMethodParameterSource
The sources of the parameters. - uninvokedReturnValue (Optional)
- Type: SystemObject
The value returned if the method is not invoked when a parameter could not be converted to the correct component.
Return Value
Type:
MethodInvokerThe method invoker.
See Also