Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Gcp != null ? Gcp.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Addr2 != null ? Addr2.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Addr3 != null ? Addr3.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Addr4 != null ? Addr4.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PostalCode != null ? PostalCode.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (City != null ? City.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Tel != null ? Tel.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Mail != null ? Mail.GetHashCode() : 0);
         return(hashCode);
     }
 }