public when_saving_user_zombie_pack_progress() { _userZombiePackProgressSaver = DalTestContextSpecification.Instance.Resolve<IUserZombiePackProgressSaver>(); _userId = Guid.NewGuid(); _zombiePackId = Guid.NewGuid(); _connectionString = DalTestContextSpecification.ConnectionString; }
public ZombiePacksController() { _zombiePackRetriever = MvcApplication.DependancyInjection.Resolve<IZombiePackRetriever>(); _userZombiePackProgressUpdater = MvcApplication.DependancyInjection.Resolve<IUserZombiePackProgressSaver>(); _userZombiePackProgressRetriever = MvcApplication.DependancyInjection.Resolve<IUserZombiePackProgressRetriever>(); _userSaver = MvcApplication.DependancyInjection.Resolve<IUserSaver>(); _huntDirector = MvcApplication.DependancyInjection.Resolve<IHuntDirector>(); _zombiePackDifficultyDirector = MvcApplication.DependancyInjection.Resolve<IZombiePackDifficultyDirector>(); _userRetriever = MvcApplication.DependancyInjection.Resolve<IUserRetriever>(); }
public ZombiePackDifficultyDirector(IUserRetriever userRetriever, IZombiePackRetriever zombiePackRetriever, IUserZombiePackProgressRetriever userZombiePackRetriever, IUserSaver userSaver, IRandomNumberProvider randomNumberProvider, IUserPotentialProvider userPotentialProvider, IUserZombiePackProgressSaver userZombiePackProgressSaver, IUserStatsRetriever userStatsRetriever) { _userRetriever = userRetriever; _zombiePackRetriever = zombiePackRetriever; _userZombiePackProgressRetriever = userZombiePackRetriever; _userSaver = userSaver; _randomNumberProvider = randomNumberProvider; _userPotentialProvider = userPotentialProvider; _userZombiePackProgressSaver = userZombiePackProgressSaver; _userStatsRetriever = userStatsRetriever; }
public HuntDirector(IUserRetriever userRetriever, IZombiePackRetriever zombiePackRetriever, IUserEnergyProvider userEnergyProvider, IUserSaver userSaver, IUserZombiePackProgressSaver userZombiePackProgressSaver, IUserAttackPowerProvider userAttackPowerProvider, IZombiePackDifficultyDirector zombiePackDifficultyDirector, IRandomNumberProvider randomNumberProvider, IUserLevelService userLevelService, IUserCountsSaver userCountsSaver, IHotZoneRetriever hotZoneRetriever) { _userRetriever = userRetriever; _zombiePackRetriever = zombiePackRetriever; _userEnergyProvider = userEnergyProvider; _userSaver = userSaver; _userZombiePackProgressSaver = userZombiePackProgressSaver; _userAttackPowerProvider = userAttackPowerProvider; _zombiePackDifficultyDirector = zombiePackDifficultyDirector; _randomNumberProvider = randomNumberProvider; _userLevelService = userLevelService; _userCountsSaver = userCountsSaver; _hotZoneRetriever = hotZoneRetriever; }