Click or drag to resize

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
Syntax
C#
public 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: MethodInvoker
The method invoker.
See Also