Esempio n. 1
0
 /// <summary>
 /// Override this method to customize how property value is set.
 /// </summary>
 protected virtual PropertyType GetValue()
 {
     return((PropertyType)KeyValueCoding.Impl(Owner).Get(Owner, Key));
 }
Esempio n. 2
0
 public DataContext()
 {
     _kvc = KeyValueCoding.Impl(GetType());
 }
Esempio n. 3
0
 /// <summary>
 /// Override this method to customize how property value is get from Owner
 /// </summary>
 protected virtual void SetValue(PropertyType value)
 {
     KeyValueCoding.Impl(Owner).Set(Owner, Key, value);
 }