Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (!(obj is NetEndPoint))
            {
                return(false);
            }
            NetEndPoint other = (NetEndPoint)obj;

            return(HostName.IsEqual(other.HostName) && PortStr.Equals(other.PortStr));
        }