C# Class StatePrinting.FieldHarvesters.RunTimeCodeGenerator

Run-time code generation is much faster than using ordinary reflection such
Inheritance: IRunTimeCodeGenerator
Show file Open project: kbilsted/StatePrinter

Public Methods

Method Description
CreateGetter ( MemberInfo memberInfo ) : object>.Func

A fast alternative to the reflection methods FieldInfo.GetValue and PropertyInfo.GetValue(object,object[])

Method Details

CreateGetter() public method

A fast alternative to the reflection methods FieldInfo.GetValue and PropertyInfo.GetValue(object,object[])
public CreateGetter ( MemberInfo memberInfo ) : object>.Func
memberInfo System.Reflection.MemberInfo
return object>.Func