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;
}