Exemplo n.º 1
0
        public InfoSection ToInfoSection(String name)
        {
            InfoSection section = new InfoSection(name);

            foreach (InfoSection s in this.info)
            {
                section.AddInfo(s);
            }

            return(section);
        }
Exemplo n.º 2
0
 public void AddInfoSection(InfoSection section, int pos = -1)
 {
     if (pos >= 0)
     {
         this.info.Insert(pos, section);
     }
     else
     {
         this.info.Add(section);
     }
 }
Exemplo n.º 3
0
 public InfoSection[] Infos()
 {
     InfoSection[] a = new InfoSection[info.Count];
     info.CopyTo(a);
     return(a);
 }