コード例 #1
0
 public override int GetHashCode()
 {
     return((string.IsNullOrWhiteSpace(Tourist) ? 0 : Tourist.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(Zeile) ? 0 : Zeile.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(Bund) ? 0 : Bund.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(Country) ? 0 : Country.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(RefundID) ? 0 : RefundID.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(CustomerVers) ? 0 : CustomerVers.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(CustomerID) ? 0 : CustomerID.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(PaymentID) ? 0 : PaymentID.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(Attempt) ? 0 : Attempt.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(TransactionID) ? 0 : TransactionID.GetHashCode())
            ^ (string.IsNullOrWhiteSpace(TransactionHistoryID) ? 0 : TransactionHistoryID.GetHashCode()));
 }