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