示例#1
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (Polygons != null)
         {
             hashCode = hashCode * 59 + Polygons.GetHashCode();
         }
         if (Copyrights != null)
         {
             hashCode = hashCode * 59 + Copyrights.GetHashCode();
         }
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     return(Polygons.GetHashCode());
 }