Exemple #1
0
 /// <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 (HtmllibmanagerClientmanager != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerClientmanager.GetHashCode();
         }
         if (HtmllibmanagerDebug != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerDebug.GetHashCode();
         }
         if (HtmllibmanagerDebugConsole != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerDebugConsole.GetHashCode();
         }
         if (HtmllibmanagerDebugInitJs != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerDebugInitJs.GetHashCode();
         }
         if (HtmllibmanagerDefaultthemename != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerDefaultthemename.GetHashCode();
         }
         if (HtmllibmanagerDefaultuserthemename != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerDefaultuserthemename.GetHashCode();
         }
         if (HtmllibmanagerFirebuglitePath != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerFirebuglitePath.GetHashCode();
         }
         if (HtmllibmanagerForceCQUrlInfo != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerForceCQUrlInfo.GetHashCode();
         }
         if (HtmllibmanagerGzip != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerGzip.GetHashCode();
         }
         if (HtmllibmanagerMaxage != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerMaxage.GetHashCode();
         }
         if (HtmllibmanagerMaxDataUriSize != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerMaxDataUriSize.GetHashCode();
         }
         if (HtmllibmanagerMinify != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerMinify.GetHashCode();
         }
         if (HtmllibmanagerPathList != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerPathList.GetHashCode();
         }
         if (HtmllibmanagerTiming != null)
         {
             hashCode = hashCode * 59 + HtmllibmanagerTiming.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemple #2
0
 /// <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);
     }
 }
Exemple #3
0
        /// <summary>
        /// Returns true if ComDayCqWidgetImplHtmlLibraryManagerImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqWidgetImplHtmlLibraryManagerImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqWidgetImplHtmlLibraryManagerImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     HtmllibmanagerClientmanager == other.HtmllibmanagerClientmanager ||
                     HtmllibmanagerClientmanager != null &&
                     HtmllibmanagerClientmanager.Equals(other.HtmllibmanagerClientmanager)
                     ) &&
                 (
                     HtmllibmanagerDebug == other.HtmllibmanagerDebug ||
                     HtmllibmanagerDebug != null &&
                     HtmllibmanagerDebug.Equals(other.HtmllibmanagerDebug)
                 ) &&
                 (
                     HtmllibmanagerDebugConsole == other.HtmllibmanagerDebugConsole ||
                     HtmllibmanagerDebugConsole != null &&
                     HtmllibmanagerDebugConsole.Equals(other.HtmllibmanagerDebugConsole)
                 ) &&
                 (
                     HtmllibmanagerDebugInitJs == other.HtmllibmanagerDebugInitJs ||
                     HtmllibmanagerDebugInitJs != null &&
                     HtmllibmanagerDebugInitJs.Equals(other.HtmllibmanagerDebugInitJs)
                 ) &&
                 (
                     HtmllibmanagerDefaultthemename == other.HtmllibmanagerDefaultthemename ||
                     HtmllibmanagerDefaultthemename != null &&
                     HtmllibmanagerDefaultthemename.Equals(other.HtmllibmanagerDefaultthemename)
                 ) &&
                 (
                     HtmllibmanagerDefaultuserthemename == other.HtmllibmanagerDefaultuserthemename ||
                     HtmllibmanagerDefaultuserthemename != null &&
                     HtmllibmanagerDefaultuserthemename.Equals(other.HtmllibmanagerDefaultuserthemename)
                 ) &&
                 (
                     HtmllibmanagerFirebuglitePath == other.HtmllibmanagerFirebuglitePath ||
                     HtmllibmanagerFirebuglitePath != null &&
                     HtmllibmanagerFirebuglitePath.Equals(other.HtmllibmanagerFirebuglitePath)
                 ) &&
                 (
                     HtmllibmanagerForceCQUrlInfo == other.HtmllibmanagerForceCQUrlInfo ||
                     HtmllibmanagerForceCQUrlInfo != null &&
                     HtmllibmanagerForceCQUrlInfo.Equals(other.HtmllibmanagerForceCQUrlInfo)
                 ) &&
                 (
                     HtmllibmanagerGzip == other.HtmllibmanagerGzip ||
                     HtmllibmanagerGzip != null &&
                     HtmllibmanagerGzip.Equals(other.HtmllibmanagerGzip)
                 ) &&
                 (
                     HtmllibmanagerMaxage == other.HtmllibmanagerMaxage ||
                     HtmllibmanagerMaxage != null &&
                     HtmllibmanagerMaxage.Equals(other.HtmllibmanagerMaxage)
                 ) &&
                 (
                     HtmllibmanagerMaxDataUriSize == other.HtmllibmanagerMaxDataUriSize ||
                     HtmllibmanagerMaxDataUriSize != null &&
                     HtmllibmanagerMaxDataUriSize.Equals(other.HtmllibmanagerMaxDataUriSize)
                 ) &&
                 (
                     HtmllibmanagerMinify == other.HtmllibmanagerMinify ||
                     HtmllibmanagerMinify != null &&
                     HtmllibmanagerMinify.Equals(other.HtmllibmanagerMinify)
                 ) &&
                 (
                     HtmllibmanagerPathList == other.HtmllibmanagerPathList ||
                     HtmllibmanagerPathList != null &&
                     HtmllibmanagerPathList.Equals(other.HtmllibmanagerPathList)
                 ) &&
                 (
                     HtmllibmanagerTiming == other.HtmllibmanagerTiming ||
                     HtmllibmanagerTiming != null &&
                     HtmllibmanagerTiming.Equals(other.HtmllibmanagerTiming)
                 ));
        }
Exemple #4
0
        /// <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)
                 ));
        }