/// <summary> /// Returns true if ComDayCqDamCommonsHandlerStandardImageHandlerProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqDamCommonsHandlerStandardImageHandlerProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqDamCommonsHandlerStandardImageHandlerProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( LargeFileThreshold == other.LargeFileThreshold || LargeFileThreshold != null && LargeFileThreshold.Equals(other.LargeFileThreshold) ) && ( LargeCommentThreshold == other.LargeCommentThreshold || LargeCommentThreshold != null && LargeCommentThreshold.Equals(other.LargeCommentThreshold) ) && ( CqDamEnableExtMetaExtraction == other.CqDamEnableExtMetaExtraction || CqDamEnableExtMetaExtraction != null && CqDamEnableExtMetaExtraction.Equals(other.CqDamEnableExtMetaExtraction) )); }
/// <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 (LargeFileThreshold != null) { hashCode = hashCode * 59 + LargeFileThreshold.GetHashCode(); } if (LargeCommentThreshold != null) { hashCode = hashCode * 59 + LargeCommentThreshold.GetHashCode(); } if (CqDamEnableExtMetaExtraction != null) { hashCode = hashCode * 59 + CqDamEnableExtMetaExtraction.GetHashCode(); } return(hashCode); } }