Ejemplo n.º 1
0
        public override IQueryElement VisitDrop_cls_attribute_dec_stm([NotNull] QueryGrammarParser.Drop_cls_attribute_dec_stmContext context)
        {
            DropAttribute dropAttribute = new DropAttribute();

            dropAttribute.Name = context.NAME().GetText();

            return(dropAttribute);
        }
Ejemplo n.º 2
0
        /// <summary> Write a Drop XML Element from attributes in a member. </summary>
        public virtual void WriteDrop(System.Xml.XmlWriter writer, System.Reflection.MemberInfo member, DropAttribute attribute, BaseAttribute parentAttribute, System.Type mappedClass)
        {
            writer.WriteStartElement( "drop" );

            WriteUserDefinedContent(writer, member, null, attribute);

            // Write the content of this element (mixed="true")
            writer.WriteString(attribute.Content);

            writer.WriteEndElement();
        }