public void SetField <T>(string name, T value) { IProxyFieldInfo proxyFieldInfo = this.ProxyType.GetField(name); if (proxyFieldInfo == null) { throw new InvalidOperationException("Field not found"); } proxyFieldInfo.SetValue(this.Value, value); }
public virtual void SetValue(object value) { fieldInfo.SetValue(source, value); }