Exemplo n.º 1
0
        // 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);
        }
Exemplo n.º 2
0
 public VersionOneSettings()
 {
     ProxySettings = new ProxyConnectionSettings();
 }