Exemplo n.º 1
0
        private string DumpOffenceHtml()
        {
            var sb = new StringBuilder();

            sb.Append(HtmlLib.ListOpen());
            foreach (var p in PlayerList)
            {
                if (p.LineupPos.Trim().Length > 0)
                {
                    if (p.IsOffence())
                    {
                        sb.Append(HtmlLib.ListItem($"{p.LineupPos} {p.PlayerName}"));
                    }
                }
            }
            sb.Append(HtmlLib.ListOpen());
            return(sb.ToString());
        }