Esempio n. 1
0
        public void RdSnippet(NflTeam t)
        {
            FileOut = string.Format("{0}\\RunDef\\RD-{1}.htm", RootPath(t.Season), t.TeamCode);
            var h = new HtmlFile(FileOut,
                                 string.Format(" {2} Run Defense Unit as of {0}  Week {1}",
                                               DateTime.Now.ToString("dd MMM yy"), Utility.CurrentWeek(), t.NameOut()));

            h.AddToBody(HeaderRd(t));
            h.AddToBody(t.RdReport());
            h.Render();
        }