public override Action <T, object> CreateSet <T>(PropertyInfo propertyInfo) { ValidationUtils.ArgumentNotNull(propertyInfo, "propertyInfo"); return((o, v) => propertyInfo.SetValue(o, v, null)); }
public override Func <T, object> CreateGet <T>(FieldInfo fieldInfo) { ValidationUtils.ArgumentNotNull(fieldInfo, "fieldInfo"); return(o => fieldInfo.GetValue(o)); }
public override Action <T, object> CreateSet <T>(FieldInfo fieldInfo) { ValidationUtils.ArgumentNotNull(fieldInfo, "fieldInfo"); return((o, v) => fieldInfo.SetValue(o, v)); }
public override Func <T, object> CreateGet <T>(PropertyInfo propertyInfo) { ValidationUtils.ArgumentNotNull(propertyInfo, "propertyInfo"); return(o => propertyInfo.GetValue(o, null)); }