예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (JiraServerAddress.Length != 0)
            {
                hash ^= JiraServerAddress.GetHashCode();
            }
            if (JiraUserName.Length != 0)
            {
                hash ^= JiraUserName.GetHashCode();
            }
            if (JiraPassword.Length != 0)
            {
                hash ^= JiraPassword.GetHashCode();
            }
            if (ProxyServer.Length != 0)
            {
                hash ^= ProxyServer.GetHashCode();
            }
            if (ProxyUserName.Length != 0)
            {
                hash ^= ProxyUserName.GetHashCode();
            }
            if (ProxyPassword.Length != 0)
            {
                hash ^= ProxyPassword.GetHashCode();
            }
            return(hash);
        }