Пример #1
0
        internal override GrammarBuilderBase Clone()
        {
            TagElement tagElement = new TagElement(_value);

            tagElement.CloneItems(this);
            return(tagElement);
        }
Пример #2
0
        public override bool Equals(object obj)
        {
            TagElement refObj = obj as TagElement;

            if (refObj == null)
            {
                return(false);
            }
            if (!base.Equals(obj))
            {
                return(false);
            }
            return(_value.Equals(refObj._value));
        }
Пример #3
0
        public override bool Equals(object obj)
        {
            TagElement tagElement = obj as TagElement;

            if (tagElement == null)
            {
                return(false);
            }
            if (!base.Equals(obj))
            {
                return(false);
            }
            return(_value.Equals(tagElement._value));
        }