public override void RenderAsHtml()
 {
     var PreReport = new SimplePreReport
      {
     ReportType = "Actual Metrics",
     Folder = "GameSummaries",
     Season = Season,
     InstanceName = Week,
     Body = GenerateBody()
      };
      PreReport.RenderHtml();
      FileOut = PreReport.FileOut;
 }
 public void DumpLines( string week )
 {
     var PreReport = new SimplePreReport
     {
        ReportType = "Role Assignment",
        Folder = "Roles",
        Season = Season,
        InstanceName = string.Format( "RoleAssignments-{0:0#}", Int32.Parse( week ) ),
        Body = GenerateErrorBody( Lines )
     };
      PreReport.RenderHtml();
      FileOut = PreReport.FileOut;
 }
        public void Execute()
        {
            var PreReport = new SimplePreReport();

            PreReport.ReportType   = "Depth Chart";
            PreReport.Folder       = "DepthCharts";
            PreReport.Season       = Season;
            PreReport.InstanceName = TeamCode;
            PreReport.Body         = GenerateBody();
            PreReport.RenderHtml();
            FileOut = PreReport.FileOut;
            DumpErrors();
        }
 public void DumpErrors()
 {
     var PreReport = new SimplePreReport
     {
        ReportType = "Depth Chart",
        Folder = "DepthCharts",
        Season = Season,
        InstanceName = "Errors",
        Body = GenerateErrorBody()
     };
      PreReport.RenderHtml();
      FileOut = PreReport.FileOut;
 }
Esempio n. 5
0
        public void DumpAces(string week)
        {
            var PreReport = new SimplePreReport
            {
                ReportType   = "Aces",
                Folder       = "Roles",
                Season       = Season,
                InstanceName = string.Format("Aces-{0:0#}", Int32.Parse(week)),
                Body         = GenerateErrorBody(Aces)
            };

            PreReport.RenderHtml();
            FileOut = PreReport.FileOut;
        }
Esempio n. 6
0
        private void DumpTeam(IEnumerable <string> teamLines, string week, NflTeam t)
        {
            var PreReport = new SimplePreReport
            {
                ReportType   = "Team Role Assignment",
                Folder       = "Roles",
                Season       = Season,
                InstanceName = string.Format("{1}-Roles-{0:0#}", Int32.Parse(week), t.TeamCode),
                Body         = GenerateErrorBody(teamLines)
            };

            PreReport.RenderHtml();
            FileOut = PreReport.FileOut;
        }
        public void Execute()
        {
            var PreReport = new SimplePreReport
            {
                ReportType   = "Depth Chart",
                Folder       = "DepthCharts",
                Season       = Season,
                InstanceName = TeamCode,
                Body         = GenerateBody()
            };

            PreReport.RenderHtml();
            FileOut = PreReport.FileOut;
        }
        public void DumpErrors()
        {
            var PreReport = new SimplePreReport
            {
                ReportType   = "Depth Chart",
                Folder       = "DepthCharts",
                Season       = Season,
                InstanceName = "Errors",
                Body         = GenerateErrorBody()
            };

            PreReport.RenderHtml();
            FileOut = PreReport.FileOut;
        }
        public override void RenderAsHtml()
        {
            var PreReport = new SimplePreReport
            {
                ReportType   = "Actual Metrics",
                Folder       = "GameSummaries",
                Season       = Season,
                InstanceName = Week,
                Body         = GenerateBody()
            };

            PreReport.RenderHtml();
            FileOut = PreReport.FileOut;
        }
 private void DumpTeam( IEnumerable<string> teamLines, string week, NflTeam t )
 {
     var PreReport = new SimplePreReport
     {
        ReportType = "Team Role Assignment",
        Folder = "Roles",
        Season = Season,
        InstanceName = string.Format( "{1}-Roles-{0:0#}", Int32.Parse( week ), t.TeamCode ),
        Body = GenerateErrorBody( teamLines )
     };
      PreReport.RenderHtml();
      FileOut = PreReport.FileOut;
 }
Esempio n. 11
0
 public void Execute()
 {
     var PreReport = new SimplePreReport
      {
     ReportType = "Depth Chart",
     Folder = "DepthCharts",
     Season = Season,
     InstanceName = TeamCode,
     Body = GenerateBody()
      };
      PreReport.RenderHtml();
      FileOut = PreReport.FileOut;
 }