/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (WalletType != null) { hashCode = hashCode * 59 + WalletType.GetHashCode(); } if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (SupportsInputToUniqueAddress != null) { hashCode = hashCode * 59 + SupportsInputToUniqueAddress.GetHashCode(); } if (SupportsInputToSharedAddressWithMemo != null) { hashCode = hashCode * 59 + SupportsInputToSharedAddressWithMemo.GetHashCode(); } if (DefaultInputAddressType != null) { hashCode = hashCode * 59 + DefaultInputAddressType.GetHashCode(); } if (ExtraData != null) { hashCode = hashCode * 59 + ExtraData.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (WalletType != null) { hashCode = hashCode * 59 + WalletType.GetHashCode(); } if (SessionToken != null) { hashCode = hashCode * 59 + SessionToken.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 99907; int secondPrime = 67619; //NO SE HACE VALIDACION DE VALORES NULOS DADO QUE LOS ATRIBUTOS SON OBLIGATORIOS hash = hash * secondPrime + AuthenticationData.GetHashCode(); hash = hash * secondPrime + DeviceType.GetHashCode(); hash = hash * secondPrime + Amount.GetHashCode(); hash = hash * secondPrime + ExternalTransactionReference.GetHashCode(); hash = hash * secondPrime + Recipient.GetHashCode(); hash = hash * secondPrime + WalletType.GetHashCode(); hash = hash * secondPrime + (RecipientAccessId == null ? 0 : RecipientAccessId.GetHashCode()); hash = hash * secondPrime + (RecipientPdv == null ? 0 : RecipientPdv.GetHashCode()); hash = hash * secondPrime + (RequestDate == null ? 0 : RequestDate.GetHashCode()); hash = hash * secondPrime + (Comment == null ? 0 : Comment.GetHashCode()); return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Address != null) hashCode = hashCode * 59 + Address.GetHashCode(); if (Memo != null) hashCode = hashCode * 59 + Memo.GetHashCode(); if (Nickname != null) hashCode = hashCode * 59 + Nickname.GetHashCode(); if (WalletType != null) hashCode = hashCode * 59 + WalletType.GetHashCode(); if (SessionToken != null) hashCode = hashCode * 59 + SessionToken.GetHashCode(); return hashCode; } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (CoinType != null) { hashCode = hashCode * 59 + CoinType.GetHashCode(); } if (WalletName != null) { hashCode = hashCode * 59 + WalletName.GetHashCode(); } if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Symbol != null) { hashCode = hashCode * 59 + Symbol.GetHashCode(); } if (WalletSymbol != null) { hashCode = hashCode * 59 + WalletSymbol.GetHashCode(); } if (WalletType != null) { hashCode = hashCode * 59 + WalletType.GetHashCode(); } if (TransactionFee != null) { hashCode = hashCode * 59 + TransactionFee.GetHashCode(); } if (Precision != null) { hashCode = hashCode * 59 + Precision.GetHashCode(); } if (BackingCoinType != null) { hashCode = hashCode * 59 + BackingCoinType.GetHashCode(); } if (SupportsOutputMemos != null) { hashCode = hashCode * 59 + SupportsOutputMemos.GetHashCode(); } if (Restricted != null) { hashCode = hashCode * 59 + Restricted.GetHashCode(); } if (Authorized != null) { hashCode = hashCode * 59 + Authorized.GetHashCode(); } if (NotAuthorizedReasons != null) { hashCode = hashCode * 59 + NotAuthorizedReasons.GetHashCode(); } return(hashCode); } }