public override int GetHashCode() { int hashcode = TransportUsage.GetHashCode() ^ KeepAliveInterval.GetHashCode(); if (SubProtocol != null) { hashcode ^= SubProtocol.ToLowerInvariant().GetHashCode(); } return(hashcode); }
public override int GetHashCode() { int hashcode = TransportUsage.GetHashCode() ^ CreateNotificationOnConnection.GetHashCode() ^ KeepAliveInterval.GetHashCode() ^ DisablePayloadMasking.GetHashCode() ^ MaxPendingConnections.GetHashCode(); if (SubProtocol != null) { hashcode ^= SubProtocol.ToLowerInvariant().GetHashCode(); } return(hashcode); }