Esempio n. 1
0
 public void EndCurrentSection()
 {
     this._currentSection = null;
 }
Esempio n. 2
0
 public SectionElement BeginNewSection(bool allowWrap, int indentation, string name)
 {
     if (indentation < 0)
     {
         throw new ArgumentOutOfRangeException("indentation");
     }
     SectionElement element = new SectionElement();
     element.AllowWrap = allowWrap;
     element.Indentation = indentation;
     element.SetName(name);
     this._sections.Add(element);
     this._currentSection = element;
     return this._currentSection;
 }