public override int GetHashCode() { int hash = 1; if (IataAirportCode.Length != 0) { hash ^= IataAirportCode.GetHashCode(); } if (IcaoAirportCode.Length != 0) { hash ^= IcaoAirportCode.GetHashCode(); } if (CityName.Length != 0) { hash ^= CityName.GetHashCode(); } if (localizedCityName_ != null) { hash ^= LocalizedCityName.GetHashCode(); } if (AirportName.Length != 0) { hash ^= AirportName.GetHashCode(); } if (localizedAirportName_ != null) { hash ^= LocalizedAirportName.GetHashCode(); } if (CountryCode.Length != 0) { hash ^= CountryCode.GetHashCode(); } if (Timezone.Length != 0) { hash ^= Timezone.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public int CompareTo(Airport other) { return(AirportName.CompareTo(other.AirportName)); }