コード例 #1
0
 public CompetitionRepository(ISeasonRepository seasonRepository,
     ILeagueRepository leagueRepository,
     ITeamLeagueRepository teamLeagueRepository,
     IFixtureRepository fixtureRepository)
 {
     this.seasonRepository     = seasonRepository;
     this.leagueRepository     = leagueRepository;
     this.teamLeagueRepository = teamLeagueRepository;
     this.fixtureRepository    = fixtureRepository;
 }
コード例 #2
0
 public CompetitionRepository(ISeasonRepository seasonRepository,
                              ILeagueRepository leagueRepository,
                              ITeamLeagueRepository teamLeagueRepository,
                              IFixtureRepository fixtureRepository)
 {
     this.seasonRepository     = seasonRepository;
     this.leagueRepository     = leagueRepository;
     this.teamLeagueRepository = teamLeagueRepository;
     this.fixtureRepository    = fixtureRepository;
 }
コード例 #3
0
 public MatchResultRepository(ITeamLeagueRepository teamLeagueRepository,
                              IPlayerLeagueStatsRepository playerLeagueStatsRepository,
                              IPlayerFixtureRepository playerFixtureRepository,
                              IPlayerSeasonStatsRepository playerSeasonStatsRepository,
                              IPlayerCareerStatsRepository playerCareerStatsRepository,
                              IPlayerCupStatsRepository playerCupStatsRepository)
 {
     this.teamLeagueRepository        = teamLeagueRepository;
     this.playerLeagueStatsRepository = playerLeagueStatsRepository;
     this.playerFixtureRepository     = playerFixtureRepository;
     this.playerSeasonStatsRepository = playerSeasonStatsRepository;
     this.playerCareerStatsRepository = playerCareerStatsRepository;
     this.playerCupStatsRepository    = playerCupStatsRepository;
 }
コード例 #4
0
 public MatchResultRepository(ITeamLeagueRepository teamLeagueRepository,
     IPlayerLeagueStatsRepository playerLeagueStatsRepository,
     IPlayerFixtureRepository playerFixtureRepository,
     IPlayerSeasonStatsRepository playerSeasonStatsRepository,
     IPlayerCareerStatsRepository playerCareerStatsRepository,
     IPlayerCupStatsRepository playerCupStatsRepository)
 {
     this.teamLeagueRepository        = teamLeagueRepository;
     this.playerLeagueStatsRepository = playerLeagueStatsRepository;
     this.playerFixtureRepository     = playerFixtureRepository;
     this.playerSeasonStatsRepository = playerSeasonStatsRepository;
     this.playerCareerStatsRepository = playerCareerStatsRepository;
     this.playerCupStatsRepository    = playerCupStatsRepository;
 }
コード例 #5
0
 public StatsReportingRepository(ITeamLeagueRepository teamLeagueRepository,
                                 IPlayerLeagueStatsRepository playerLeagueStatsRepository,
                                 IPlayerFixtureRepository playerFixtureRepository,
                                 IPlayerSeasonStatsRepository playerSeasonStatsRepository,
                                 IPlayerCareerStatsRepository playerCareerStatsRepository,
                                 ILeagueWinnerRepository leagueWinnerRepository,
                                 ICupWinnerRepository cupWinnerRepository,
                                 IFixtureRepository fixtureRepository,
                                 IPlayerCupStatsRepository playerCupStatsRepository)
 {
     this.teamLeagueRepository        = teamLeagueRepository;
     this.playerLeagueStatsRepository = playerLeagueStatsRepository;
     this.playerFixtureRepository     = playerFixtureRepository;
     this.playerSeasonStatsRepository = playerSeasonStatsRepository;
     this.playerCareerStatsRepository = playerCareerStatsRepository;
     this.leagueWinnerRepository      = leagueWinnerRepository;
     this.cupWinnerRepository         = cupWinnerRepository;
     this.fixtureRepository           = fixtureRepository;
     this.playerCupStatsRepository    = playerCupStatsRepository;
 }
コード例 #6
0
 public StatsReportingRepository(ITeamLeagueRepository teamLeagueRepository,
     IPlayerLeagueStatsRepository playerLeagueStatsRepository,
     IPlayerFixtureRepository playerFixtureRepository,
     IPlayerSeasonStatsRepository playerSeasonStatsRepository,
     IPlayerCareerStatsRepository playerCareerStatsRepository,
     ILeagueWinnerRepository leagueWinnerRepository,
     ICupWinnerRepository cupWinnerRepository,
     IFixtureRepository fixtureRepository,
     IPlayerCupStatsRepository playerCupStatsRepository)
 {
     this.teamLeagueRepository        = teamLeagueRepository;
     this.playerLeagueStatsRepository = playerLeagueStatsRepository;
     this.playerFixtureRepository     = playerFixtureRepository;
     this.playerSeasonStatsRepository = playerSeasonStatsRepository;
     this.playerCareerStatsRepository = playerCareerStatsRepository;
     this.leagueWinnerRepository      = leagueWinnerRepository;
     this.cupWinnerRepository         = cupWinnerRepository;
     this.fixtureRepository           = fixtureRepository;
     this.playerCupStatsRepository    = playerCupStatsRepository;
 }
コード例 #7
0
 public TeamLeagueService(ITeamLeagueRepository teamLeagueRepository) : base(teamLeagueRepository)
 {
     this.teamLeagueRepository = teamLeagueRepository;
 }
コード例 #8
0
 public TeamRepository(IDbContext context, ITeamLeagueRepository teamLeagueRepository) : base(context)
 {
     this.teamLeagueRepository = teamLeagueRepository;
 }
コード例 #9
0
        //IPenaltyRepository penaltyRepository;

        public PenaltyService(IPenaltyRepository penaltyRepository,
                              ITeamLeagueRepository teamLeagueRepository) : base(penaltyRepository)
        {
            this.penaltyRepository    = penaltyRepository;
            this.teamLeagueRepository = teamLeagueRepository;
        }