private SetValue ( Object thisob, Object value ) : void | ||
thisob | Object | |
value | Object | |
리턴 | void |
public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) { FieldAccessor fieldAccessor = this.fieldAccessor; if (fieldAccessor == null) { this.fieldAccessor = fieldAccessor = FieldAccessor.GetAccessorFor(this.field); } fieldAccessor.SetValue(obj, value); }
public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) { Debug.PreCondition(binder == null && culture == null); FieldAccessor accessor = this.fieldAccessor; if (accessor == null) { this.fieldAccessor = accessor = FieldAccessor.GetAccessorFor(this.field); } accessor.SetValue(obj, value); }