MethodInvokerFactoryCompile Method |
Compiles the invoker for the specified method.
Namespace:
SampSharp.Entities.Utilities
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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