예제 #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 (Filepattern != null)
         {
             hashCode = hashCode * 59 + Filepattern.GetHashCode();
         }
         if (BuildPageNodes != null)
         {
             hashCode = hashCode * 59 + BuildPageNodes.GetHashCode();
         }
         if (BuildClientLibs != null)
         {
             hashCode = hashCode * 59 + BuildClientLibs.GetHashCode();
         }
         if (BuildCanvasComponent != null)
         {
             hashCode = hashCode * 59 + BuildCanvasComponent.GetHashCode();
         }
         return(hashCode);
     }
 }