コード例 #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);
     }
 }
コード例 #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);
     }
 }