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

Equals() public method

public Equals ( XATransactionId that ) : bool
that XATransactionId
return bool
        public virtual bool Equals(XATransactionId that)
        {
            if(!Equals(this.FormatId, that.FormatId))
            {
                return false;
            }
            if(!ArrayEquals(this.GlobalTransactionId, that.GlobalTransactionId))
            {
                return false;
            }
            if(!ArrayEquals(this.BranchQualifier, that.BranchQualifier))
            {
                return false;
            }

            return true;
        }

Same methods

XATransactionId::Equals ( object that ) : bool