Esempio n. 1
0
        /// <inheritdoc />
        public bool Equals(Host other)
        {
            if (other == null)
            {
                return(false);
            }

            var equals = true;

            equals &= Name.Equals(other.Name);
            equals &= Wildcard.Equals(other.Wildcard);
            equals &= (Address != null) ? Address.Equals(other.Address) : Equals(Address, other.Address);
            return(equals);
        }