/// <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 (ManagerRoot != null) { hashCode = hashCode * 59 + ManagerRoot.GetHashCode(); } if (HttpServiceFilter != null) { hashCode = hashCode * 59 + HttpServiceFilter.GetHashCode(); } if (DefaultRender != null) { hashCode = hashCode * 59 + DefaultRender.GetHashCode(); } if (Realm != null) { hashCode = hashCode * 59 + Realm.GetHashCode(); } if (Username != null) { hashCode = hashCode * 59 + Username.GetHashCode(); } if (Password != null) { hashCode = hashCode * 59 + Password.GetHashCode(); } if (Category != null) { hashCode = hashCode * 59 + Category.GetHashCode(); } if (Locale != null) { hashCode = hashCode * 59 + Locale.GetHashCode(); } if (Loglevel != null) { hashCode = hashCode * 59 + Loglevel.GetHashCode(); } if (Plugins != null) { hashCode = hashCode * 59 + Plugins.GetHashCode(); } return(hashCode); } }