public override string[] Render(string header, string body) { Box headerBox = new DashedBox(header); Box bodyBox = new DashedBox(body); return(Render(headerBox, bodyBox)); }
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()); }