Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DynamicReflectionManager.CreateFieldGetter Method

Create a new Get method delegate for the specified field using DynamicMethod

[Visual Basic]
Public Shared Sub CreateFieldGetter( _
   ByVal fieldInfo As FieldInfo _
)
[C#]
public static FieldGetterDelegate CreateFieldGetter(
   FieldInfo fieldInfo
);

Parameters

fieldInfo
the field to create the delegate for

Return Value

a delegate that can be used to read the field

See Also

DynamicReflectionManager Class | Spring.Reflection.Dynamic Namespace