示例#1
0
 public void SetValue(object target, object value)
 {
     if (setter == null)
     {
         setter = LateBoundDelegateFactory.CreateSet <object>(memberInfo);
     }
     setter(target, value);
 }
示例#2
0
        public object GetValue(object target)
        {
            if (getter == null)
            {
                getter = LateBoundDelegateFactory.CreateGet <object>(memberInfo);
            }

            return(getter(target));
        }