Example #1
0
 protected ViewProxy(object instance, TypeMeta type)
 {
     Instance = instance;
     _slots   = (from member in type.Members
                 select MemberSlot.Create(this, member)).ToArray();
 }
 public virtual void UpdateValue(MemberSlot member)
 {
     member.UpdateValue();
 }
 public virtual object GetValue(MemberSlot member)
 {
     return member.GetValue();
 }
 public virtual void SetValue(MemberSlot member, object value)
 {
     member.SetValue(value);
 }
Example #5
0
 internal void WasModified(MemberSlot member)
 {
     _modifiedWhileNotifying.Add(member);
 }