public override int GetHashCode() { unchecked { return(((Departure != null ? Departure.GetHashCode() : 0) * 397) ^ (Return != null ? Return.GetHashCode() : 0)); } }
public override int GetHashCode() { unchecked { return(((Departure != null ? Departure.GetHashCode() : 0) * 397) ^ (Arrival != null ? Arrival.GetHashCode() : 0)); } }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Loading != false) { hash ^= Loading.GetHashCode(); } if (OfflineFulfillment != false) { hash ^= OfflineFulfillment.GetHashCode(); } if (TrainDescription.Length != 0) { hash ^= TrainDescription.GetHashCode(); } if (railway_ != null) { hash ^= Railway.GetHashCode(); } if (from_ != null) { hash ^= From.GetHashCode(); } if (to_ != null) { hash ^= To.GetHashCode(); } if (Departure.Length != 0) { hash ^= Departure.GetHashCode(); } if (Arrival.Length != 0) { hash ^= Arrival.GetHashCode(); } if (ticketPrice_ != null) { hash ^= TicketPrice.GetHashCode(); } if (paymentPrice_ != null) { hash ^= PaymentPrice.GetHashCode(); } if (chargingPrice_ != null) { hash ^= ChargingPrice.GetHashCode(); } if (rebateAmount_ != null) { hash ^= RebateAmount.GetHashCode(); } hash ^= trains_.GetHashCode(); hash ^= passengers_.GetHashCode(); hash ^= tickets_.GetHashCode(); hash ^= records_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
///// <summary> /// Переопределение хэш-кода /// </summary> public override int GetHashCode() { return(Departure.GetHashCode() ^ Destination.GetHashCode()); }
public override int GetHashCode() { return(Departure.GetHashCode() + Arrival.GetHashCode() + LeaveDate.GetHashCode()); }