public TeamStats(TeamName teamName, IEnumerable <Game> allCompetitionGames, IEnumerable <ITable> seasonEndTables) { Name = teamName; teamsGames = allCompetitionGames.Where(Name.PlayedIn).ToList(); this.seasonEndTables = seasonEndTables; wins = teamsGames.Where(g => Name.Matches(g.Winner)); }