Click or drag to resize
MethodInfoExtensionsToFastDelegate Method
Create a fast delegete from the method info which also takes care of casting.

Namespace: Griffin
Assembly: Griffin.Core (in Griffin.Core.dll) Version: 1.0.39.0 (1.0.39.0)
Syntax
public static MethodInfoExtensionsLateBoundMethod ToFastDelegate(
	this MethodInfo method
)

Parameters

method
Type: System.ReflectionMethodInfo
Method to convert

Return Value

Type: MethodInfoExtensionsLateBoundMethod
Delegate to invoke

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MethodInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also