/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ConnectorPingTimeout != null) { hashCode = hashCode * 59 + ConnectorPingTimeout.GetHashCode(); } if (ConnectorPingInterval != null) { hashCode = hashCode * 59 + ConnectorPingInterval.GetHashCode(); } if (DiscoveryLiteCheckInterval != null) { hashCode = hashCode * 59 + DiscoveryLiteCheckInterval.GetHashCode(); } if (ClusterSyncServiceTimeout != null) { hashCode = hashCode * 59 + ClusterSyncServiceTimeout.GetHashCode(); } if (ClusterSyncServiceInterval != null) { hashCode = hashCode * 59 + ClusterSyncServiceInterval.GetHashCode(); } if (EnableSyncToken != null) { hashCode = hashCode * 59 + EnableSyncToken.GetHashCode(); } if (MinEventDelay != null) { hashCode = hashCode * 59 + MinEventDelay.GetHashCode(); } if (SocketConnectTimeout != null) { hashCode = hashCode * 59 + SocketConnectTimeout.GetHashCode(); } if (SoTimeout != null) { hashCode = hashCode * 59 + SoTimeout.GetHashCode(); } if (TopologyConnectorUrls != null) { hashCode = hashCode * 59 + TopologyConnectorUrls.GetHashCode(); } if (TopologyConnectorWhitelist != null) { hashCode = hashCode * 59 + TopologyConnectorWhitelist.GetHashCode(); } if (AutoStopLocalLoopEnabled != null) { hashCode = hashCode * 59 + AutoStopLocalLoopEnabled.GetHashCode(); } if (GzipConnectorRequestsEnabled != null) { hashCode = hashCode * 59 + GzipConnectorRequestsEnabled.GetHashCode(); } if (HmacEnabled != null) { hashCode = hashCode * 59 + HmacEnabled.GetHashCode(); } if (EnableEncryption != null) { hashCode = hashCode * 59 + EnableEncryption.GetHashCode(); } if (SharedKey != null) { hashCode = hashCode * 59 + SharedKey.GetHashCode(); } if (HmacSharedKeyTTL != null) { hashCode = hashCode * 59 + HmacSharedKeyTTL.GetHashCode(); } if (BackoffStandbyFactor != null) { hashCode = hashCode * 59 + BackoffStandbyFactor.GetHashCode(); } if (BackoffStableFactor != null) { hashCode = hashCode * 59 + BackoffStableFactor.GetHashCode(); } return(hashCode); } }