private static void BuildTable(SimpleTableReport str, Hashtable metricsHt, NflTeam team) { if (metricsHt != null) { var myEnumerator = metricsHt.GetEnumerator(); while (myEnumerator.MoveNext()) { var ep = (EpMetric)myEnumerator.Value; var dr = str.Body.NewRow(); dr["WEEKSEED"] = Utility.SeedOut(ep.WeekSeed); dr["OFFTDP"] = ep.OffTDp; dr["AVGOFFTDP"] = team.PoMultiplierAt(ep.WeekSeed); dr["OFFTDR"] = ep.OffTDr; dr["AVGOFFTDR"] = team.RoMultiplierAt(ep.WeekSeed); dr["OFFSAKA"] = ep.OffSakAllowed; dr["AVGOFFSAKA"] = team.PpMultiplierAt(ep.WeekSeed); dr["DEFTDPA"] = ep.DefTDp; dr["DEFTDRA"] = ep.DefTDr; dr["DEFSAK"] = ep.DefSak; dr["AVGDEFTDP"] = team.PdMultiplierAt(ep.WeekSeed); dr["AVGDEFTDR"] = team.RdMultiplierAt(ep.WeekSeed); dr["AVGDEFSAK"] = team.PrMultiplierAt(ep.WeekSeed); str.Body.Rows.Add(dr); } } return; }