Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAopProxyMethodBuilder.MakeGenericMethod Method

Create a closed generic method for the current call if target method is a generic definition.

[Visual Basic]
Protected Sub MakeGenericMethod( _
   ByVal il As ILGenerator, _
   ByVal method As MethodInfo, _
   ByVal methodCacheField As FieldBuilder, _
   ByVal localMethod As LocalBuilder _
)
[C#]
protected void MakeGenericMethod(
   ILGenerator il,
   MethodInfo method,
   FieldBuilder methodCacheField,
   LocalBuilder localMethod
);

Parameters

il
The IL generator to use.
method
The target method.
methodCacheField
The field that contains the method generic definition
localMethod
The local variable to store the closed generic method.

See Also

AbstractAopProxyMethodBuilder Class | Spring.Aop.Framework.DynamicProxy Namespace