void GetSubcategoryStats(List <Play> subcatPlays, SubCategoryStat subcatStat, string desc, int totalCount, out int localTeamCount, out int visitorTeamCount) { int count; count = subcatPlays.Count(); CountPlaysInTeam(subcatPlays, out localTeamCount, out visitorTeamCount); PercentualStat pStat = new PercentualStat(desc, count, localTeamCount, visitorTeamCount, totalCount); subcatStat.AddOptionStat(pStat); }
public void AddOptionStat(PercentualStat stat) { optionStats.Add(stat); }
public void AddOptionStat(PercentualStat stat) { optionStats.Add(stat); }
void GetSubcategoryStats(List<Play> subcatPlays, SubCategoryStat subcatStat, string desc, int totalCount, out int localTeamCount, out int visitorTeamCount) { int count; count = subcatPlays.Count(); CountPlaysInTeam(subcatPlays, out localTeamCount, out visitorTeamCount); PercentualStat pStat = new PercentualStat(desc, count, localTeamCount, visitorTeamCount, totalCount); subcatStat.AddOptionStat(pStat); }