示例#1
0
        public void PoSnippet(NflTeam t)
        {
            FileOut = string.Format("{0}\\PassOff\\PO-{1}.htm", RootPath(t.Season), t.TeamCode);
            var h = new HtmlFile(FileOut,
                                 string.Format(" {2} Passing Unit as of {0}  Week {1}",
                                               DateTime.Now.ToString("dd MMM yy"), Utility.CurrentWeek(), t.NameOut()));

            h.AddToBody(HeaderPo(t));
            h.AddToBody(t.PoReport());
            h.Render();
        }
示例#2
0
        public void PoSnippet(NflTeam t)
        {
            FileOut = $"{RootPath(t.Season)}\\PassOff\\PO-{t.TeamCode}.htm";
            var h = new HtmlFile(
                FileOut,
                $@" {t.NameOut()} Passing Unit as of {DateTime.Now.ToString("dd MMM yy")}  Week {
				 Utility.CurrentWeek()
				 }"                );

            h.AddToBody(
                HeaderPo(t));
            h.AddToBody(
                t.PoReport());
            h.Render();
        }