예제 #1
0
 public FieldControler(Expression <Func <ParentType, FieldType> > Field)
 {
     this.Field    = typeof(ParentType).GetField(((MemberExpression)Field.Body).Member.Name);
     this.RefValue = _GetValueRef(this.Field);
     this.GetValue = _GetValue(this.Field);
     this.SetValue = TypeController.SetValue(typeof(ParentType).GetField(((MemberExpression)Field.Body).Member.Name));
 }