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() { unchecked { int multiplier = 31; int ret = 0; if (WorkflowId != null) { ret = (ret + WorkflowId.GetHashCode()) * multiplier; } if (From != null) { ret = (ret + From.GetHashCode()) * multiplier; } if (To != null) { ret = (ret + To.GetHashCode()) * multiplier; } return(ret); } }
public override int GetHashCode() { int hash = 1; if (Offset.Length != 0) { hash ^= Offset.GetHashCode(); } if (WorkflowId.Length != 0) { hash ^= WorkflowId.GetHashCode(); } hash ^= activeContracts_.GetHashCode(); if (traceContext_ != null) { hash ^= TraceContext.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(WorkflowId.GetHashCode()); }