Ejemplo n.º 1
0
        /// <inheritdoc/>
        public override bool Equals(AbstractNodeEntry other)
        {
            if (other is AbstractNodeTypeGroup otherGroup)
            {
                return(GroupName == otherGroup.GroupName && Types.SequenceEqual(otherGroup.Types));
            }

            return(false);
        }
Ejemplo n.º 2
0
        /// <inheritdoc/>
        public override bool Equals(AbstractNodeEntry other)
        {
            var abstractNodeType = other as AbstractNodeType;

            if (abstractNodeType == null)
            {
                return(false);
            }

            return(Type == abstractNodeType.Type);
        }
Ejemplo n.º 3
0
        /// <inheritdoc/>
        public override bool Equals(AbstractNodeEntry other)
        {
            var abstractNodeValue = other as AbstractNodeValue;

            if (abstractNodeValue == null)
            {
                return(false);
            }

            return(Equals(Value, abstractNodeValue.Value));
        }