public override int GetHashCode() { int hash = 1; if (TransactionId.Length != 0) { hash ^= TransactionId.GetHashCode(); } if (CommandId.Length != 0) { hash ^= CommandId.GetHashCode(); } if (WorkflowId.Length != 0) { hash ^= WorkflowId.GetHashCode(); } if (effectiveAt_ != null) { hash ^= EffectiveAt.GetHashCode(); } hash ^= events_.GetHashCode(); if (Offset.Length != 0) { hash ^= Offset.GetHashCode(); } if (traceContext_ != null) { hash ^= TraceContext.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = 1083651961; if (EffectiveAt != null) { hashCode += EffectiveAt.GetHashCode(); } if (Type != null) { hashCode += Type.GetHashCode(); } if (AmountMoney != null) { hashCode += AmountMoney.GetHashCode(); } return(hashCode); }