예제 #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));
        }