Ejemplo n.º 1
0
 public Repository(AiKillRepository aiKillRepository,
                   [NotNull] IDbConnectionFactory connectionFactory,
                   [NotNull] IDbParameterFactory parameterFactory,
                   [NotNull] IDbDataMapper <AiKill> dataMapper)
     : base(connectionFactory, parameterFactory, dataMapper)
 {
     this.aiKillRepository = aiKillRepository;
 }
Ejemplo n.º 2
0
 private void InjectStatisticController([ApplicationScope] PlayerKillrepository playerKillrepository,
                                        [ApplicationScope] AiKillRepository aiKillRepository,
                                        [ApplicationScope] ProtectionOfPlayerRepository protectionOfPlayerRepository,
                                        [ApplicationScope] AchivementController achivementController)
 {
     this.playerKillrepository         = playerKillrepository;
     this.aiKillRepository             = aiKillRepository;
     this.protectionOfPlayerRepository = protectionOfPlayerRepository;
     this.achivementController         = achivementController;
 }
Ejemplo n.º 3
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;
 }