コード例 #1
0
 public BattlefieldController(IHeroService heroService, IBattlefieldService battlefieldService, IFightService fightService, IChronometerService chronometerService, IStringLocalizer <BattlefieldController> stringLocalizer)
 {
     this.heroService        = heroService;
     this.battlefieldService = battlefieldService;
     this.fightService       = fightService;
     this.chronometerService = chronometerService;
     this.stringLocalizer    = stringLocalizer;
 }
コード例 #2
0
 public CharacterFacade(IUnitOfWorkProvider unitOfWorkProvider, ICharacterService characterService, IAccountService accountService, IGroupService groupService, IGroupPostService groupPostService, IItemService itemService, IFightService fightService) : base(unitOfWorkProvider)
 {
     _accountService   = accountService;
     _characterService = characterService;
     _groupService     = groupService;
     _groupPostService = groupPostService;
     _itemService      = itemService;
     _fightService     = fightService;
 }
コード例 #3
0
 public FightsController(IFighterService _fighterService,
                         IFightService _fightService,
                         ITimelineService _timelineService,
                         ISportUnitService _sportUnitService)
 {
     fighterService   = _fighterService;
     timelineService  = _timelineService;
     fightService     = _fightService;
     sportUnitService = _sportUnitService;
 }
コード例 #4
0
 public DungeonService(IResourcePouchService resourcePouchService, IHeroService heroService, IChronometerService chronometerService, IFightService fightService, INotificationService notificationService, FarmHeroesDbContext context, IMapper mapper)
 {
     this.resourcePouchService = resourcePouchService;
     this.heroService          = heroService;
     this.chronometerService   = chronometerService;
     this.fightService         = fightService;
     this.notificationService  = notificationService;
     this.context = context;
     this.mapper  = mapper;
 }
コード例 #5
0
 public CategoriesController(ICategoryService _categoryService,
                             ITournamentService _tournamentService,
                             IFightService _fightService,
                             IFighterService _fighterService,
                             INavigationService _navigationService)
 {
     categoryService   = _categoryService;
     tournamentService = _tournamentService;
     fightService      = _fightService;
     navigationService = _navigationService;
     fighterService    = _fighterService;
 }
コード例 #6
0
        public FightsController(
            IFightService fightService,
            IPlayerService playerService,
            IFightLogService fightLogService,
            IAbilityService abilityService)
        {
            _fightService    = fightService;
            _playerService   = playerService;
            _fightLogService = fightLogService;
            _abilityService  = abilityService;

            rnd = new Random();
        }
コード例 #7
0
 public RefereesController(IRefereeService _refereeService,
                           ITournamentService _tournamentService,
                           ISportUnitService _sportUnitService,
                           IFightService _fightService,
                           IFighterService _fighterService,
                           INavigationService _navigationService)
 {
     tournamentService = _tournamentService;
     refereeService    = _refereeService;
     sportUnitService  = _sportUnitService;
     fightService      = _fightService;
     fighterService    = _fighterService;
     navigationService = _navigationService;
 }
コード例 #8
0
 public TournamentsController(ITournamentService _tournamentService,
                              IGroupService _groupService,
                              IGeneralUnitService _generalUnitservice,
                              ISportUnitService _sportUnitService,
                              ICategoryService _categoryService,
                              INavigationService _navigationService,
                              ITeamService _teamService,
                              IFightService _fightService,
                              IFighterService _fighterService,
                              IFightRelationService _fightRelationService)
 {
     tournamentService    = _tournamentService;
     generalUnitService   = _generalUnitservice;
     groupService         = _groupService;
     navigationService    = _navigationService;
     sportUnitService     = _sportUnitService;
     categoryService      = _categoryService;
     teamService          = _teamService;
     fightService         = _fightService;
     fighterService       = _fighterService;
     fightRelationService = _fightRelationService;
 }
コード例 #9
0
 public FightController(IFightService fightService)
 {
     _fightService = fightService;
 }
コード例 #10
0
 public FightController(IFightService iFightService, IMapper imapper)
 {
     _imapper       = imapper;
     _iFightService = iFightService;
 }
コード例 #11
0
 public FightController(IFightService service)
 {
     this._service = service;
 }
コード例 #12
0
 public TestFight()
 {
     _fightService = new FightService();
 }