Exemple #1
0
        protected override bool EqualsTo(Cell other)
        {
            if (!base.EqualsTo(other))
            {
                return(false);
            }
            HandshakeReq o = (HandshakeReq)other;

            if (!data_.EqualsEx(o.data_))
            {
                return(false);
            }
            return(true);
        }
Exemple #2
0
        protected override bool IsEquivalent(Cell other, Fingerprint fingerprint)
        {
            if (!base.IsEquivalent(other, fingerprint))
            {
                return(false);
            }
            HandshakeReq o       = (HandshakeReq)other;
            var          touched = new Capo <bool>(fingerprint, tag.Offset);

            if (touched[0])
            {
                if (!data_.EqualsEx(o.data_))
                {
                    return(false);
                }
            }
            return(true);
        }