Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DynamicReflectionManager.CreateMethod Method

Create a new method delegate for the specified method using DynamicMethod

[Visual Basic]
Public Shared Sub CreateMethod( _
   ByVal methodInfo As MethodInfo _
)
[C#]
public static FunctionDelegate CreateMethod(
   MethodInfo methodInfo
);

Parameters

methodInfo
the method to create the delegate for

Return Value

a delegate that can be used to invoke the method.

See Also

DynamicReflectionManager Class | Spring.Reflection.Dynamic Namespace