private void wrapInSection(string title, string subtitle, Action<HtmlTag> stuff) { var section = new HtmlTag("section"); section.AddPageHeader(title, subtitle); stuff(section); _document.Add(section); }
private void wrapInSection(string title, string subtitle, Action<HtmlTag> stuff) { var section = new HtmlTag("section"); section.AddPageHeader(title, subtitle); stuff(section); _document.Add(section); }