Exemplo n.º 1
0
 public void WriteSectionNodes()
 {
     if (InnerNodes != null)
     {
         int listLen = InnerNodes.Count();
         for (int i = 0; i < listLen; i++)
         {
             SectionNode node = (SectionNode)InnerNodes[i];
             if (node.Title == null)
             {
                 writer.WriteComment(" Section ");
             }
             else
             {
                 writer.WriteComment($" Section {i} ");
             }
             node.WriteNode();
         }
     }
 }