/// <summary> /// Determines whether the left parts of two URIs are equal. /// </summary> /// <param name="uri">The URI.</param> /// <param name="other">The other URI.</param> /// <returns><c>true</c> if the left parts are equal; otherwise, <c>false</c>.</returns> public static bool EqualsLeftPart(this EtpUri uri, EtpUri other) { return(uri.Equals(other.WithoutQuery())); }