Exemple #1
0
 public static void StartChapter(String chapterName)
 {
     Chapter = new RuleChapter()
     {
         Name = chapterName
     };
 }
Exemple #2
0
        public static RuleChapter PopChapter()
        {
            var chapter = Chapter;

            if (chapter != null)
            {
                chapter.Content = Content.ToString();
                Content         = new StringBuilder();
                Chapter         = null;
            }
            return(chapter);
        }