Exemplo n.º 1
0
        /// <summary>
        /// Converts Sections into DDL.
        /// </summary>
        internal override void Serialize(Serializer serializer)
        {
            int count = Count;

            for (int index = 0; index < count; ++index)
            {
                Section section = this[index];
                section.Serialize(serializer);
            }
        }
Exemplo n.º 2
0
        internal override void Serialize(XmlSerializer serializer)
        {
            serializer.WriteStartElement("Sections");

            int count = Count;

            for (int index = 0; index < count; ++index)
            {
                Section section = this[index];
                section.Serialize(serializer);
            }

            serializer.WriteEndElement();
        }