private void RenderPolyCommandItems(HtmlGenerator hg, string jobfn, JobPolyCommand cmd) { hg.BeginUl(); foreach (var c in cmd.Commands) { hg.BeginLi(); RenderCommand(hg, jobfn, c); hg.EndLi(); } hg.EndUl(); }