Esempio n. 1
0
 public static Func <object, object> CreateGetMethod(this FieldInfo fieldInfo)
 {
     return(ChoEmitHelper.CreateFieldGetterHandler(fieldInfo));
 }
 public static Func <object, object> CreateGetMethod(this PropertyInfo propertyInfo)
 {
     return(ChoEmitHelper.CreatePropertyGetterHandler(propertyInfo));
 }
Esempio n. 3
0
 public static Action <object, object> CreateSetMethod(this FieldInfo fieldInfo)
 {
     return(ChoEmitHelper.CreateFieldSetterHandler(fieldInfo));
 }
 public static Action <object, object> CreateSetMethod(this PropertyInfo propertyInfo)
 {
     return(ChoEmitHelper.CreatePropertySetterHandler(propertyInfo));
 }