Apache.NMS.ActiveMQ.Commands.MessageDispatch.Equals C# (CSharp) Method

Equals() public method

public Equals ( MessageDispatch that ) : bool
that MessageDispatch
return bool
        public virtual bool Equals(MessageDispatch that)
        {
            if(!Equals(this.ConsumerId, that.ConsumerId))
            {
                return false;
            }
            if(!Equals(this.Destination, that.Destination))
            {
                return false;
            }
            if(!Equals(this.Message, that.Message))
            {
                return false;
            }
            if(!Equals(this.RedeliveryCounter, that.RedeliveryCounter))
            {
                return false;
            }

            return true;
        }

Same methods

MessageDispatch::Equals ( object that ) : bool