Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ContainerPort != 0)
            {
                hash ^= ContainerPort.GetHashCode();
            }
            if (PublicPort != 0)
            {
                hash ^= PublicPort.GetHashCode();
            }
            if (Kind != 0)
            {
                hash ^= Kind.GetHashCode();
            }
            return(hash);
        }