Esempio n. 1
0
 public virtual bool Equals(MessageId that)
 {
     return(Equals(this.ProducerId, that.ProducerId) &&
            Equals(this.ProducerSequenceId, that.ProducerSequenceId) &&
            Equals(this.BrokerSequenceId, that.BrokerSequenceId));
 }
Esempio n. 2
0
        public override int GetHashCode()
        {
            MessageId id = this.MessageId;

            return(id != null?id.GetHashCode() : base.GetHashCode());
        }