public override int GetHashCode() { int hash = 1; if (ActionId != 0) { hash ^= ActionId.GetHashCode(); } if (Num != 0) { hash ^= Num.GetHashCode(); } if (T0 != 0L) { hash ^= T0.GetHashCode(); } if (T1 != 0L) { hash ^= T1.GetHashCode(); } if (T2 != 0L) { hash ^= T2.GetHashCode(); } if (T3 != 0L) { hash ^= T3.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(Tenant.GetHashCode() ^ SubjectId.GetHashCode() ^ ActionId.GetHashCode() ^ (ObjectId ?? string.Empty).GetHashCode() ^ Reaction.GetHashCode()); }
public override int GetHashCode() { unchecked { int result = m_blockEntityId.GetHashCode(); result = (result * 397) ^ ActionId.GetHashCode(); return(result); } }
public override int GetHashCode() { int hash = 1; if (ActionId != 0) { hash ^= ActionId.GetHashCode(); } if (UserId != 0L) { hash ^= UserId.GetHashCode(); } if (MsgId != 0) { hash ^= MsgId.GetHashCode(); } if (Token.Length != 0) { hash ^= Token.GetHashCode(); } if (St != 0L) { hash ^= St.GetHashCode(); } if (Content.Length != 0) { hash ^= Content.GetHashCode(); } if (Sign.Length != 0) { hash ^= Sign.GetHashCode(); } if (ErrorCode != 0) { hash ^= ErrorCode.GetHashCode(); } if (ErrorInfo.Length != 0) { hash ^= ErrorInfo.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 (Id != null) { hashCode = hashCode * 59 + Id.GetHashCode(); } if (ActionId != null) { hashCode = hashCode * 59 + ActionId.GetHashCode(); } if (Amount != null) { hashCode = hashCode * 59 + Amount.GetHashCode(); } if (Currency != null) { hashCode = hashCode * 59 + Currency.GetHashCode(); } if (Approved != null) { hashCode = hashCode * 59 + Approved.GetHashCode(); } if (Status != null) { hashCode = hashCode * 59 + Status.GetHashCode(); } if (AuthCode != null) { hashCode = hashCode * 59 + AuthCode.GetHashCode(); } if (ResponseCode != null) { hashCode = hashCode * 59 + ResponseCode.GetHashCode(); } if (ResponseSummary != null) { hashCode = hashCode * 59 + ResponseSummary.GetHashCode(); } if (ThreeDS != null) { hashCode = hashCode * 59 + ThreeDS.GetHashCode(); } if (Risk != null) { hashCode = hashCode * 59 + Risk.GetHashCode(); } if (Source != null) { hashCode = hashCode * 59 + Source.GetHashCode(); } if (Customer != null) { hashCode = hashCode * 59 + Customer.GetHashCode(); } if (ProcessedOn != null) { hashCode = hashCode * 59 + ProcessedOn.GetHashCode(); } if (Reference != null) { hashCode = hashCode * 59 + Reference.GetHashCode(); } if (Eci != null) { hashCode = hashCode * 59 + Eci.GetHashCode(); } if (SchemeId != null) { hashCode = hashCode * 59 + SchemeId.GetHashCode(); } if (Links != null) { hashCode = hashCode * 59 + Links.GetHashCode(); } return(hashCode); } }
/// <summary> /// /// </summary> /// <returns></returns> public override int GetHashCode() { return(ActionId.GetHashCode()); }