public MonsterController(IMonsterService service, ILogger <MonsterController> logger, IMapper mapper, IMemoryCache memoryCache) { _service = service; _logger = logger; _mapper = mapper; _memoryCache = memoryCache; }
public FightService( IHeroService heroService, IHealthService healthService, IResourcePouchService resourcePouchService, IChronometerService chronometerService, ILevelService levelService, IStatisticsService statisticsService, IMonsterService monsterService, INotificationService notificationService, IEquipmentService equipmentService, IAmuletBagService amuletBagService, FarmHeroesDbContext context, IMapper mapper) { this.heroService = heroService; this.healthService = healthService; this.resourcePouchService = resourcePouchService; this.chronometerService = chronometerService; this.levelService = levelService; this.statisticsService = statisticsService; this.monsterService = monsterService; this.notificationService = notificationService; this.equipmentService = equipmentService; this.amuletBagService = amuletBagService; this.context = context; this.mapper = mapper; }
public IHttpActionResult GetMonstertByID(int id) { _monsterService = GetMonsterService(); var monster = _monsterService.FindBy(id); return(Ok(monster)); }
public MonsterController( IMonsterService monsterService, IMapper mapper ) { _monsterService = monsterService; _mapper = mapper; }
public CombatService(IEventDispatcher eventDispatcher, ISlackWebApi slack, IStatsRepository statsRepository, IUserService userService, IChannelRepository channelRepository, ISpawnedMonsterRepository spawnedMonsterRepository, IMonsterService monsterService) { _eventDispatcher = eventDispatcher; _slack = slack; _statsRepository = statsRepository; _userService = userService; _channelRepository = channelRepository; _spawnedMonsterRepository = spawnedMonsterRepository; _monsterService = monsterService; }
public IHttpActionResult GetMonterByNameSource([FromBody] MonsterSearchCriteria criteria) { _monsterService = GetMonsterService(); if (criteria.altname == null) { criteria.altname = string.Empty; } var monster = _monsterService.GetByNameSource(criteria.name, criteria.source, criteria.altname); return(Ok(monster)); }
public IHttpActionResult AddMonster([FromBody] monster monster) { if (monster == null) { return(Ok("Monster Empty")); } _monsterService = GetMonsterService(); IEnumerable <string> Error = _monsterService.AddMonster(monster); return(Ok(Error)); }
public ChangeNotifierHub( IHubGroupUtil hubGroupUtil, ICharacterService characterService, IGroupService groupService, ILootService lootService, IMonsterService monsterService ) { _hubGroupUtil = hubGroupUtil; _characterService = characterService; _groupService = groupService; _lootService = lootService; _monsterService = monsterService; }
public GroupsController( IGroupService groupService, ILootService lootService, IMonsterService monsterService, IEventService eventService, IMapper mapper, INpcService npcService ) { _groupService = groupService; _lootService = lootService; _monsterService = monsterService; _eventService = eventService; _mapper = mapper; _npcService = npcService; }
public void SetUp() { _groupService = Substitute.For <IGroupService>(); _lootService = Substitute.For <ILootService>(); _monsterService = Substitute.For <IMonsterService>(); _eventService = Substitute.For <IEventService>(); _mapper = Substitute.For <IMapper>(); _npcService = Substitute.For <INpcService>(); _controller = new GroupsController( _groupService, _lootService, _monsterService, _eventService, _mapper, _npcService ); _executionContext = new NaheulbookExecutionContext(); }
public MonsterCsvImportService(IMonsterLevelService monsterLevelService, IMonsterService monsterService) { _monsterLevelService = monsterLevelService; _monsterService = monsterService; }
public MonsterController(IMonsterService monsterService) { _monsterService = monsterService; }
public CombatFacade(IUnitOfWorkProvider unitOfWorkProvider, ICharacterService characterService, IMonsterService monsterService) : base(unitOfWorkProvider) { _characterService = characterService; _monsterService = monsterService; }
public MonsterFacade(IUnitOfWorkProvider unitOfWorkProvider, IMonsterService monsterService, IAttributesService attributesService) : base(unitOfWorkProvider) { _monsterService = monsterService; _attributesService = attributesService; }
public HomeController() { _monsterService = new MonsterService(); }
public MonsterController(IMonsterRepository repo, IMonsterService service, ILogger <MonsterController> logger) { _repo = repo; _service = service; _logger = logger; }
public MonsterController(IMonsterService monsterService, ILogger <MonsterController> logger) { _MonsterService = monsterService; _logger = logger; }
public MonsterController(IMonsterService monsterService) { _monsterService = monsterService; }
public MonstersController(IMonsterService monsterService) { this.monsterService = monsterService; }
public MockEncounterService(IMonsterService monsterService, IBattleService battleService) { _monsterService = monsterService; _battleService = battleService; CreateMockData(); }
public MockUserService(IMonsterService monsterService) { _monsterService = monsterService; CreateMockData(); }
public HomeController(IMonsterService productService) { _productService = productService; }