public bool Equals(UpstreamHost other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Scheme, other.Scheme) && Host.Equals(other.Host) && PathBase.Equals(other.PathBase)); }