/// <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 (OrgApacheSlingInstallerConfigurationPersist != null) { hashCode = hashCode * 59 + OrgApacheSlingInstallerConfigurationPersist.GetHashCode(); } if (Mode != null) { hashCode = hashCode * 59 + Mode.GetHashCode(); } if (Port != null) { hashCode = hashCode * 59 + Port.GetHashCode(); } if (PrimaryHost != null) { hashCode = hashCode * 59 + PrimaryHost.GetHashCode(); } if (Interval != null) { hashCode = hashCode * 59 + Interval.GetHashCode(); } if (PrimaryAllowedClientIpRanges != null) { hashCode = hashCode * 59 + PrimaryAllowedClientIpRanges.GetHashCode(); } if (Secure != null) { hashCode = hashCode * 59 + Secure.GetHashCode(); } if (StandbyReadtimeout != null) { hashCode = hashCode * 59 + StandbyReadtimeout.GetHashCode(); } if (StandbyAutoclean != null) { hashCode = hashCode * 59 + StandbyAutoclean.GetHashCode(); } return(hashCode); } }
/// <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 (OrgApacheSlingInstallerConfigurationPersist != null) { hashCode = hashCode * 59 + OrgApacheSlingInstallerConfigurationPersist.GetHashCode(); } if (JobConsumermanagerWhitelist != null) { hashCode = hashCode * 59 + JobConsumermanagerWhitelist.GetHashCode(); } if (JobConsumermanagerBlacklist != null) { hashCode = hashCode * 59 + JobConsumermanagerBlacklist.GetHashCode(); } return(hashCode); } }