Ejemplo n.º 1
0
        public string DumpAsHtml(string header)
        {
            var sb = new StringBuilder();

            sb.Append(HtmlLib.H3(header));
            sb.Append(HtmlLib.TableOpen("border='0'"));
            sb.Append(HtmlLib.TableRowOpen());
            sb.Append(HtmlLib.TableData(DumpOffenceHtml()));
            sb.Append(HtmlLib.TableData(DumpDefenceHtml()));
            sb.Append(HtmlLib.TableRowClose());
            sb.Append(HtmlLib.TableClose());
            return(sb.ToString());
        }