public override int GetHashCode()
            {
                int hashCode = -1167275223;

                hashCode = hashCode * -1521134295 + ShipID.GetHashCode();
                hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ShipType);

                return(hashCode);
            }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(ShipID.GetHashCode());
 }