Ejemplo n.º 1
0
 public Repository(PlayedGameRepository playedGameRepository,
                   [NotNull] IDbConnectionFactory connectionFactory,
                   [NotNull] IDbParameterFactory parameterFactory,
                   [NotNull] IDbDataMapper <PlayedGame> dataMapper)
     : base(connectionFactory, parameterFactory, dataMapper)
 {
     this.playedGameRepository = playedGameRepository;
 }
Ejemplo n.º 2
0
 public void InjectAchivementController([ApplicationScope] PlayerRepository playerRepository,
                                        [ApplicationScope] ProtectionOfPlayerRepository protectionOfPlayerRepository,
                                        [ApplicationScope] PlayerKillrepository playerKillrepository,
                                        [ApplicationScope] AiKillRepository aiKillRepository,
                                        [ApplicationScope] AchivementRepository achivementRepository,
                                        [ApplicationScope] GameVictoryRepository gameVictoryRepository,
                                        [ApplicationScope] PlayedGameRepository playedGameRepository)
 {
     this.playerRepository             = playerRepository;
     this.playerKillrepository         = playerKillrepository;
     this.protectionOfPlayerRepository = protectionOfPlayerRepository;
     this.aiKillRepository             = aiKillRepository;
     this.achivementRepository         = achivementRepository;
     this.playedGameRepository         = playedGameRepository;
     this.gameVictoryRepository        = gameVictoryRepository;
 }