Esempio n. 1
0
        private string Heading(string header)
        {
            var sb = new StringBuilder();

            AddLine(sb, HtmlLib.DivOpenClass("header row"));
            AddLine(sb, HtmlLib.H2(header));
            AddLine(sb, HtmlLib.DivClose());
            return(sb.ToString());
        }
Esempio n. 2
0
        private string Heading()
        {
            var sb = new StringBuilder();

            AddLine(sb, HtmlLib.DivOpenClass("header row"));
            var link = HtmlLib.Href(
                fileLink: "..\\tfl-out\\currstnd.txt",
                label: Year.ToString());

            AddLine(sb, HtmlLib.H2($"Season {link}"));
            AddLine(sb, HtmlLib.DivClose());
            return(sb.ToString());
        }