public virtual bool Equals(MessageId that) { return(Equals(this.ProducerId, that.ProducerId) && Equals(this.ProducerSequenceId, that.ProducerSequenceId) && Equals(this.BrokerSequenceId, that.BrokerSequenceId)); }
public override int GetHashCode() { MessageId id = this.MessageId; return(id != null?id.GetHashCode() : base.GetHashCode()); }