C# Class PineCone.Structures.Schemas.DynamicPropertyFactory

Mostra file Open project: danielwertheim/PineCone

Public Methods

Method Description
GetterFor ( PropertyInfo p ) : DynamicGetter
SetterFor ( PropertyInfo p ) : DynamicSetter

Private Methods

Method Description
CreateDynamicGetMethod ( PropertyInfo propertyInfo ) : DynamicMethod
CreateDynamicSetMethod ( PropertyInfo propertyInfo ) : DynamicMethod
CreateIlGetter ( PropertyInfo propertyInfo ) : object>.Func
CreateIlSetter ( PropertyInfo propertyInfo ) : object>.Action
CreateLambdaGetter ( Type type, PropertyInfo property ) : object>.Func

Method Details

GetterFor() public static method

public static GetterFor ( PropertyInfo p ) : DynamicGetter
p System.Reflection.PropertyInfo
return DynamicGetter

SetterFor() public static method

public static SetterFor ( PropertyInfo p ) : DynamicSetter
p System.Reflection.PropertyInfo
return DynamicSetter