/// <inheritdoc /> public override int GetHashCode() { unchecked { int hashCode = Sent.GetHashCode(); hashCode = (hashCode * 397) ^ (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Message != null ? Message.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ErrorMessage != null ? ErrorMessage.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hash = 17; if (Recipient != default(string)) { hash = hash * 23 + Recipient.GetHashCode(); } if (BankAccount != default(BankAccount)) { hash = hash * 23 + BankAccount.GetHashCode(); } if (Sent != default(bool)) { hash = hash * 23 + Sent.GetHashCode(); } if (Paid != default(bool)) { hash = hash * 23 + Paid.GetHashCode(); } if (Fee != default(long)) { hash = hash * 23 + Fee.GetHashCode(); } if (Amount != default(long)) { hash = hash * 23 + Amount.GetHashCode(); } if (Currency != default(string)) { hash = hash * 23 + Currency.GetHashCode(); } if (FailFast != default(bool)) { hash = hash * 23 + FailFast.GetHashCode(); } if (FailureCode != default(string)) { hash = hash * 23 + FailureCode.GetHashCode(); } if (FailureMessage != default(string)) { hash = hash * 23 + FailureMessage.GetHashCode(); } if (Transaction != default(string)) { hash = hash * 23 + Transaction.GetHashCode(); } return(hash); } }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + Recipient.GetHashCode(); hash = hash * 23 + BankAccount.GetHashCode(); hash = hash * 23 + Sent.GetHashCode(); hash = hash * 23 + Paid.GetHashCode(); hash = hash * 23 + Fee.GetHashCode(); hash = hash * 23 + Amount.GetHashCode(); hash = hash * 23 + Currency.GetHashCode(); hash = hash * 23 + FailureCode.GetHashCode(); hash = hash * 23 + FailureMessage.GetHashCode(); hash = hash * 23 + Transaction.GetHashCode(); return(hash); } }