コード例 #1
0
 public static Func <object, object> CreateGetMethod(this FieldInfo fieldInfo)
 {
     return(ChoEmitHelper.CreateFieldGetterHandler(fieldInfo));
 }
コード例 #2
0
 public static Func <object, object> CreateGetMethod(this PropertyInfo propertyInfo)
 {
     return(ChoEmitHelper.CreatePropertyGetterHandler(propertyInfo));
 }
コード例 #3
0
 public static Action <object, object> CreateSetMethod(this FieldInfo fieldInfo)
 {
     return(ChoEmitHelper.CreateFieldSetterHandler(fieldInfo));
 }
コード例 #4
0
 public static Action <object, object> CreateSetMethod(this PropertyInfo propertyInfo)
 {
     return(ChoEmitHelper.CreatePropertySetterHandler(propertyInfo));
 }