Esempio n. 1
0
            public override string[] Render(string header, string body)
            {
                Box headerBox = new DashedBox(header);
                Box bodyBox   = new DashedBox(body);

                return(Render(headerBox, bodyBox));
            }
Esempio n. 2
0
            public string[] Render(string header, string body)
            {
                Box headerBox = new DashedBox(header);

                Box bodyBox = new DashedBox(body);

                var result = new List <string>();

                result.AddRange(headerBox.Render());
                result.Add("");
                result.Add("");
                result.AddRange(bodyBox.Render());

                return(result.ToArray());
            }