/// <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 (EmailName != null) { hashCode = hashCode * 59 + EmailName.GetHashCode(); } if (EmailCreatePostFromReply != null) { hashCode = hashCode * 59 + EmailCreatePostFromReply.GetHashCode(); } if (EmailAddCommentIdTo != null) { hashCode = hashCode * 59 + EmailAddCommentIdTo.GetHashCode(); } if (EmailSubjectMaximumLength != null) { hashCode = hashCode * 59 + EmailSubjectMaximumLength.GetHashCode(); } if (EmailReplyToAddress != null) { hashCode = hashCode * 59 + EmailReplyToAddress.GetHashCode(); } if (EmailReplyToDelimiter != null) { hashCode = hashCode * 59 + EmailReplyToDelimiter.GetHashCode(); } if (EmailTrackerIdPrefixInSubject != null) { hashCode = hashCode * 59 + EmailTrackerIdPrefixInSubject.GetHashCode(); } if (EmailTrackerIdPrefixInBody != null) { hashCode = hashCode * 59 + EmailTrackerIdPrefixInBody.GetHashCode(); } if (EmailAsHTML != null) { hashCode = hashCode * 59 + EmailAsHTML.GetHashCode(); } if (EmailDefaultUserName != null) { hashCode = hashCode * 59 + EmailDefaultUserName.GetHashCode(); } if (EmailTemplatesRootPath != null) { hashCode = hashCode * 59 + EmailTemplatesRootPath.GetHashCode(); } return(hashCode); } }