Пример #1
0
        public override bool Equals(object obj)
        {
            if (ReferenceEquals(this, obj))
            {
                return(true);
            }
            var other = obj as HostAddress;

            return(other != null && WebUri.IsSameHost(other.WebUri) && ApiUri.IsSameHost(other.ApiUri));
        }