예제 #1
0
        public static void AddBracketLine(this List <BracketContent> bracketContents, int level, string content)
        {
            var nextLine = new BracketContent {
                Level = level, Contents = content
            };

            bracketContents.Add(nextLine);
        }
예제 #2
0
        public static BracketContent CreateNewContentLine(this List <BracketContent> bracketContents, int level)
        {
            var bracketContent = new BracketContent {
                Level = level
            };

            bracketContents.Add(bracketContent);

            return(bracketContent);
        }