Esempio n. 1
0
        public void Write(XmlWriter aWriter)
        {
            aWriter.WriteStartElement("ProjectItem");

            WriteProperties(aWriter);
            ProjectItemExtensions.WriteItems(this, aWriter);

            aWriter.WriteEndElement();
        }
Esempio n. 2
0
        public void Write(XmlWriter Writer)
        {
            Writer.WriteStartElement("Project");
            Writer.WriteAttributeString("Code", Code);
            Writer.WriteAttributeString("Name", Name);
            Writer.WriteAttributeString("Description", Description);

            Writer.WriteStartElement("ProjectDependencies");
            for (int i = 0, icount = _ProjectDependencies.Count; i < icount; i++)
            {
                Writer.WriteStartElement("Project");
                Writer.WriteAttributeString("Code", _ProjectDependencies[i].Code);
                Writer.WriteAttributeString("Name", _ProjectDependencies[i].Name);
                Writer.WriteAttributeString("Description", _ProjectDependencies[i].Description);
                Writer.WriteEndElement();
            }
            Writer.WriteEndElement();

            ProjectItemExtensions.WriteItems(this, Writer);

            Writer.WriteEndElement();
        }