示例#1
0
 public Repository(GameVictoryRepository gameVictoryRepository,
                   [NotNull] IDbConnectionFactory connectionFactory,
                   [NotNull] IDbParameterFactory parameterFactory,
                   [NotNull] IDbDataMapper <GameVictory> dataMapper)
     : base(connectionFactory, parameterFactory, dataMapper)
 {
     this.gameVictoryRepository = gameVictoryRepository;
 }
示例#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;
 }