/// <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 (SlingDefaultParameterEncoding != null) { hashCode = hashCode * 59 + SlingDefaultParameterEncoding.GetHashCode(); } if (SlingDefaultMaxParameters != null) { hashCode = hashCode * 59 + SlingDefaultMaxParameters.GetHashCode(); } if (FileLocation != null) { hashCode = hashCode * 59 + FileLocation.GetHashCode(); } if (FileThreshold != null) { hashCode = hashCode * 59 + FileThreshold.GetHashCode(); } if (FileMax != null) { hashCode = hashCode * 59 + FileMax.GetHashCode(); } if (RequestMax != null) { hashCode = hashCode * 59 + RequestMax.GetHashCode(); } if (SlingDefaultParameterCheckForAdditionalContainerParameters != null) { hashCode = hashCode * 59 + SlingDefaultParameterCheckForAdditionalContainerParameters.GetHashCode(); } return(hashCode); } }