public OldRosterGridReports() { Name = "Old Roster Grids"; RosterGrid = new NFLRosterGrid { Season = Season, CurrentLeague = Constants.K_LEAGUE_Gridstats_NFL1, Focus = "QB" }; LastOutput = string.Format("{0}{3}\\Rosters\\{1}\\Roster-{2}.htm", Utility.OutputDirectory(), RosterGrid.CurrentLeague, RosterGrid.Focus, Season); Configs = new List<RosterGridConfig>(); Configs.Add(new RosterGridConfig { Category = Constants.K_QUARTERBACK_CAT, Focus = "QB" }); Configs.Add(new RosterGridConfig { Category = Constants.K_RUNNINGBACK_CAT, Focus = "RB" }); Configs.Add(new RosterGridConfig { Category = Constants.K_RECEIVER_CAT, Focus = "WR" }); Configs.Add(new RosterGridConfig { Category = Constants.K_RECEIVER_CAT, Focus = "TE" }); Configs.Add(new RosterGridConfig { Category = Constants.K_KICKER_CAT, Focus = "K" }); Leagues = new List<RosterGridLeague>(); Leagues.Add(new RosterGridLeague { Id = Constants.K_LEAGUE_Gridstats_NFL1, Name = "Gridstats GS1" }); Leagues.Add( new RosterGridLeague { Id = Constants.K_LEAGUE_Yahoo, Name = "Spitzys League" } ); #if ! DEBUG2 Leagues.Add( new RosterGridLeague { Id = Constants.K_LEAGUE_Rants_n_Raves, Name = "NFL.COM" } ); #endif }
public OldRosterGridReports(IKeepTheTime timekeeper) : base(timekeeper) { Name = "Old Roster Grids"; RosterGrid = new NFLRosterGrid { Season = timekeeper.Season, CurrentLeague = Constants.K_LEAGUE_Gridstats_NFL1, Focus = "QB" }; LastOutput = string.Format("{0}{3}\\Rosters\\{1}\\Roster-{2}.htm", Utility.OutputDirectory(), RosterGrid.CurrentLeague, RosterGrid.Focus, Season); Configs = new List <RosterGridConfig> { new RosterGridConfig { Category = Constants.K_QUARTERBACK_CAT, Focus = "QB" }, new RosterGridConfig { Category = Constants.K_RUNNINGBACK_CAT, Focus = "RB" }, new RosterGridConfig { Category = Constants.K_RECEIVER_CAT, Focus = "WR" }, new RosterGridConfig { Category = Constants.K_RECEIVER_CAT, Focus = "TE" }, new RosterGridConfig { Category = Constants.K_KICKER_CAT, Focus = "K" } }; Leagues = new List <RosterGridLeague> { new RosterGridLeague { Id = Constants.K_LEAGUE_Gridstats_NFL1, Name = "Gridstats GS1" }, new RosterGridLeague { Id = Constants.K_LEAGUE_Yahoo, Name = "Spitzys League" } }; }