Esempio n. 1
0
        public override bool Equals(object o)
        {
            RawDataNode otherNode = o as RawDataNode;
            bool        result    = otherNode != null;

            result = result && EqualityComparer <byte[]> .Default.Equals(Value, otherNode.Value);

            return(result);
        }
Esempio n. 2
0
        public override bool Equals(object o)
        {
            RawDataNode rawDataNode = o as RawDataNode;

            if (rawDataNode != null)
            {
                return(EqualityComparer <byte[]> .Default.Equals(Value, rawDataNode.Value));
            }
            return(false);
        }