private void Generate(FpProjectionConfig rpt) { Fpr.Season = rpt.Season; Fpr.Week = rpt.Week; Fpr.League = rpt.League; Fpr.Scorer = rpt.Scorer; Fpr.PgmDao = rpt.Dao; Fpr.RenderAll(); }
private void Configure() { Configs = new List <FpProjectionConfig>(); var config1 = new FpProjectionConfig { Season = Season, Week = Utility.NextWeek(), League = Constants.K_LEAGUE_Gridstats_NFL1, Scorer = Scorer, Dao = Dao }; Configs.Add(config1); var config2 = new FpProjectionConfig { Season = Season, Week = Utility.NextWeek(), League = Constants.K_LEAGUE_Rants_n_Raves, Scorer = Scorer, Dao = Dao }; Configs.Add(config2); var config3 = new FpProjectionConfig { Season = Season, Week = Utility.NextWeek(), League = Constants.K_LEAGUE_Yahoo, Scorer = Scorer, Dao = Dao }; Configs.Add(config3); }
private void Configure() { Configs = new List<FpProjectionConfig>(); var config1 = new FpProjectionConfig { Season = Season, Week = Utility.NextWeek(), League = Constants.K_LEAGUE_Gridstats_NFL1, Scorer = Scorer, Dao = Dao }; Configs.Add( config1 ); var config2 = new FpProjectionConfig { Season = Season, Week = Utility.NextWeek(), League = Constants.K_LEAGUE_Rants_n_Raves, Scorer = Scorer, Dao = Dao }; Configs.Add(config2); var config3 = new FpProjectionConfig { Season = Season, Week = Utility.NextWeek(), League = Constants.K_LEAGUE_Yahoo, Scorer = Scorer, Dao = Dao }; Configs.Add(config3); }