Ejemplo n.º 1
0
 public void SetValue(object instance, object value)
 {
     if (this._accessor == null)
     {
         this._accessor = Editor.GetAccessorInfo(this._declaringType, this._name, this._fieldInfo, this._propertyInfo);
     }
     this._accessor.setAccessor(instance, value);
 }
Ejemplo n.º 2
0
 public object GetValue(object instance)
 {
     if (this._accessor == null)
     {
         this._accessor = Editor.GetAccessorInfo(this._declaringType, this._name, this._fieldInfo, this._propertyInfo);
     }
     return(this._accessor.getAccessor(instance));
 }