/*----------------------------------------------------------------------------------------*/ /// <summary> /// Sets the value of the field associated with the injector. /// </summary> /// <param name="target">The instance on which the field should be written.</param> /// <param name="value">The value to store in the field.</param> public void Set(object target, object value) { if (_setter == null) { _setter = DynamicMethodFactory.CreateSetter(Member); } _setter(target, value); }