示例#1
0
 public Repository(AchivementRepository achivementRepository,
                   [NotNull] IDbConnectionFactory connectionFactory,
                   [NotNull] IDbParameterFactory parameterFactory,
                   [NotNull] IDbDataMapper <Achivement> dataMapper)
     : base(connectionFactory, parameterFactory, dataMapper)
 {
     this.achivementRepository = achivementRepository;
 }
示例#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;
 }
示例#3
0
 private void InjectAchivementAfficher([ApplicationScope] AchivementController achivementController,
                                       [ApplicationScope] AchivementRepository achivementRepository)
 {
     this.achivementController = achivementController;
     this.achivementRepository = achivementRepository;
 }