Exemplo 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);
        }
Exemplo n.º 2
0
        /// <inheritdoc/>
        public override bool Equals(AbstractNodeEntry other)
        {
            var abstractNodeType = other as AbstractNodeType;

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

            return(Type == abstractNodeType.Type);
        }
Exemplo 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));
        }