コード例 #1
0
 public object GetValue(object parent)
 {
     return(Field.GetValue(MIBase?.GetValue(parent) ?? parent));
 }
コード例 #2
0
 public void SetValue(object parent, object value)
 {
     // If using emulated MI: fetch the base class pointer first, then write the field
     Field.SetValue(MIBase?.GetValue(parent) ?? parent, value);
 }