Пример #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);
        }
Пример #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);
        }