/// <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 (HtmllibmanagerTiming != null) { hashCode = hashCode * 59 + HtmllibmanagerTiming.GetHashCode(); } if (HtmllibmanagerDebugInitJs != null) { hashCode = hashCode * 59 + HtmllibmanagerDebugInitJs.GetHashCode(); } if (HtmllibmanagerMinify != null) { hashCode = hashCode * 59 + HtmllibmanagerMinify.GetHashCode(); } if (HtmllibmanagerDebug != null) { hashCode = hashCode * 59 + HtmllibmanagerDebug.GetHashCode(); } if (HtmllibmanagerGzip != null) { hashCode = hashCode * 59 + HtmllibmanagerGzip.GetHashCode(); } if (HtmllibmanagerMaxDataUriSize != null) { hashCode = hashCode * 59 + HtmllibmanagerMaxDataUriSize.GetHashCode(); } if (HtmllibmanagerMaxage != null) { hashCode = hashCode * 59 + HtmllibmanagerMaxage.GetHashCode(); } if (HtmllibmanagerForceCQUrlInfo != null) { hashCode = hashCode * 59 + HtmllibmanagerForceCQUrlInfo.GetHashCode(); } if (HtmllibmanagerDefaultthemename != null) { hashCode = hashCode * 59 + HtmllibmanagerDefaultthemename.GetHashCode(); } if (HtmllibmanagerDefaultuserthemename != null) { hashCode = hashCode * 59 + HtmllibmanagerDefaultuserthemename.GetHashCode(); } if (HtmllibmanagerClientmanager != null) { hashCode = hashCode * 59 + HtmllibmanagerClientmanager.GetHashCode(); } if (HtmllibmanagerPathList != null) { hashCode = hashCode * 59 + HtmllibmanagerPathList.GetHashCode(); } if (HtmllibmanagerExcludedPathList != null) { hashCode = hashCode * 59 + HtmllibmanagerExcludedPathList.GetHashCode(); } if (HtmllibmanagerProcessorJs != null) { hashCode = hashCode * 59 + HtmllibmanagerProcessorJs.GetHashCode(); } if (HtmllibmanagerProcessorCss != null) { hashCode = hashCode * 59 + HtmllibmanagerProcessorCss.GetHashCode(); } if (HtmllibmanagerLongcachePatterns != null) { hashCode = hashCode * 59 + HtmllibmanagerLongcachePatterns.GetHashCode(); } if (HtmllibmanagerLongcacheFormat != null) { hashCode = hashCode * 59 + HtmllibmanagerLongcacheFormat.GetHashCode(); } if (HtmllibmanagerUseFileSystemOutputCache != null) { hashCode = hashCode * 59 + HtmllibmanagerUseFileSystemOutputCache.GetHashCode(); } if (HtmllibmanagerFileSystemOutputCacheLocation != null) { hashCode = hashCode * 59 + HtmllibmanagerFileSystemOutputCacheLocation.GetHashCode(); } if (HtmllibmanagerDisableReplacement != null) { hashCode = hashCode * 59 + HtmllibmanagerDisableReplacement.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComAdobeGraniteUiClientlibsImplHtmlLibraryManagerImplProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeGraniteUiClientlibsImplHtmlLibraryManagerImplProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeGraniteUiClientlibsImplHtmlLibraryManagerImplProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( HtmllibmanagerTiming == other.HtmllibmanagerTiming || HtmllibmanagerTiming != null && HtmllibmanagerTiming.Equals(other.HtmllibmanagerTiming) ) && ( HtmllibmanagerDebugInitJs == other.HtmllibmanagerDebugInitJs || HtmllibmanagerDebugInitJs != null && HtmllibmanagerDebugInitJs.Equals(other.HtmllibmanagerDebugInitJs) ) && ( HtmllibmanagerMinify == other.HtmllibmanagerMinify || HtmllibmanagerMinify != null && HtmllibmanagerMinify.Equals(other.HtmllibmanagerMinify) ) && ( HtmllibmanagerDebug == other.HtmllibmanagerDebug || HtmllibmanagerDebug != null && HtmllibmanagerDebug.Equals(other.HtmllibmanagerDebug) ) && ( HtmllibmanagerGzip == other.HtmllibmanagerGzip || HtmllibmanagerGzip != null && HtmllibmanagerGzip.Equals(other.HtmllibmanagerGzip) ) && ( HtmllibmanagerMaxDataUriSize == other.HtmllibmanagerMaxDataUriSize || HtmllibmanagerMaxDataUriSize != null && HtmllibmanagerMaxDataUriSize.Equals(other.HtmllibmanagerMaxDataUriSize) ) && ( HtmllibmanagerMaxage == other.HtmllibmanagerMaxage || HtmllibmanagerMaxage != null && HtmllibmanagerMaxage.Equals(other.HtmllibmanagerMaxage) ) && ( HtmllibmanagerForceCQUrlInfo == other.HtmllibmanagerForceCQUrlInfo || HtmllibmanagerForceCQUrlInfo != null && HtmllibmanagerForceCQUrlInfo.Equals(other.HtmllibmanagerForceCQUrlInfo) ) && ( HtmllibmanagerDefaultthemename == other.HtmllibmanagerDefaultthemename || HtmllibmanagerDefaultthemename != null && HtmllibmanagerDefaultthemename.Equals(other.HtmllibmanagerDefaultthemename) ) && ( HtmllibmanagerDefaultuserthemename == other.HtmllibmanagerDefaultuserthemename || HtmllibmanagerDefaultuserthemename != null && HtmllibmanagerDefaultuserthemename.Equals(other.HtmllibmanagerDefaultuserthemename) ) && ( HtmllibmanagerClientmanager == other.HtmllibmanagerClientmanager || HtmllibmanagerClientmanager != null && HtmllibmanagerClientmanager.Equals(other.HtmllibmanagerClientmanager) ) && ( HtmllibmanagerPathList == other.HtmllibmanagerPathList || HtmllibmanagerPathList != null && HtmllibmanagerPathList.Equals(other.HtmllibmanagerPathList) ) && ( HtmllibmanagerExcludedPathList == other.HtmllibmanagerExcludedPathList || HtmllibmanagerExcludedPathList != null && HtmllibmanagerExcludedPathList.Equals(other.HtmllibmanagerExcludedPathList) ) && ( HtmllibmanagerProcessorJs == other.HtmllibmanagerProcessorJs || HtmllibmanagerProcessorJs != null && HtmllibmanagerProcessorJs.Equals(other.HtmllibmanagerProcessorJs) ) && ( HtmllibmanagerProcessorCss == other.HtmllibmanagerProcessorCss || HtmllibmanagerProcessorCss != null && HtmllibmanagerProcessorCss.Equals(other.HtmllibmanagerProcessorCss) ) && ( HtmllibmanagerLongcachePatterns == other.HtmllibmanagerLongcachePatterns || HtmllibmanagerLongcachePatterns != null && HtmllibmanagerLongcachePatterns.Equals(other.HtmllibmanagerLongcachePatterns) ) && ( HtmllibmanagerLongcacheFormat == other.HtmllibmanagerLongcacheFormat || HtmllibmanagerLongcacheFormat != null && HtmllibmanagerLongcacheFormat.Equals(other.HtmllibmanagerLongcacheFormat) ) && ( HtmllibmanagerUseFileSystemOutputCache == other.HtmllibmanagerUseFileSystemOutputCache || HtmllibmanagerUseFileSystemOutputCache != null && HtmllibmanagerUseFileSystemOutputCache.Equals(other.HtmllibmanagerUseFileSystemOutputCache) ) && ( HtmllibmanagerFileSystemOutputCacheLocation == other.HtmllibmanagerFileSystemOutputCacheLocation || HtmllibmanagerFileSystemOutputCacheLocation != null && HtmllibmanagerFileSystemOutputCacheLocation.Equals(other.HtmllibmanagerFileSystemOutputCacheLocation) ) && ( HtmllibmanagerDisableReplacement == other.HtmllibmanagerDisableReplacement || HtmllibmanagerDisableReplacement != null && HtmllibmanagerDisableReplacement.Equals(other.HtmllibmanagerDisableReplacement) )); }