public static void StartChapter(String chapterName) { Chapter = new RuleChapter() { Name = chapterName }; }
public static RuleChapter PopChapter() { var chapter = Chapter; if (chapter != null) { chapter.Content = Content.ToString(); Content = new StringBuilder(); Chapter = null; } return(chapter); }