// TODO consider objects equal if UseProxy == false in both of them private bool Equals(ProxyConnectionSettings other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return other.ProxyIsEnabled.Equals(ProxyIsEnabled) && Equals(other.Url, Url) && Equals(other.Domain, Domain) && Equals(other.Username, Username) && Equals(other.Password, Password); }
public VersionOneSettings() { ProxySettings = new ProxyConnectionSettings(); }