Exemplo n.º 1
0
 public GameRoundController(ApplicationDbContext context, IMapper mapper, IGameRoundService gameRoundService, IPersonService personService)
 {
     this.context      = context;
     this.mapper       = mapper;
     _gameRoundService = gameRoundService;
     _personService    = personService;
 }
Exemplo n.º 2
0
 public AccountController(
     UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IConfiguration configuration, IGameRoundService gameRound, IPersonService personService, ApplicationDbContext context, IMapper mapper)
 {
     _userManager      = userManager;
     _signInManager    = signInManager;
     _configuration    = configuration;
     _gameRoundService = gameRound;
     _personService    = personService;
     this.context      = context;
     this.mapper       = mapper;
 }
Exemplo n.º 3
0
 public GameManager(
     IStringLocalizer <GameManager> localizer,
     IRoundAnswerService roundAnswerService,
     IGameRoundService gameRoundService,
     IBluffService bluffService,
     IGameService gameService,
     ILoyaltySyncService loyaltySyncService,
     IBotService botService,
     IUserService userService,
     IMapper mapper,
     IHubContext <GameHub> hubContext)
 {
     _localizer          = localizer;
     _roundAnswerService = roundAnswerService;
     _gameRoundService   = gameRoundService;
     _bluffService       = bluffService;
     _gameService        = gameService;
     _loyaltySyncService = loyaltySyncService;
     _botService         = botService;
     _userService        = userService;
     _mapper             = mapper;
     _hubContext         = hubContext;
 }
Exemplo n.º 4
0
 public GameInstance(IBriefcaseService briefcaseService, IPlayerService playerService, IGameRoundService gameRoundService)
 {
     _briefcaseService = briefcaseService;
     _playerService    = playerService;
     _gameRoundService = gameRoundService;
 }
Exemplo n.º 5
0
 public void Init()
 {
     _mockPlayerService = new Mock <IPlayerService>(MockBehavior.Strict);
     _gameRoundService  = new GameRoundService(_mockPlayerService.Object);
 }
Exemplo n.º 6
0
 public WarGameController(IDealerService dealerService, IPlayerService playerService, IGameRoundService gameRoundService)
 {
     _dealerService    = dealerService;
     _playerService    = playerService;
     _gameRoundService = gameRoundService;
 }
Exemplo n.º 7
0
 public GameService(IScaleoutService scaleoutService, IGameRoundService gameRoundService)
 {
     this.scaleoutService  = scaleoutService;
     this.gameRoundService = gameRoundService;
 }
Exemplo n.º 8
0
 public GameService(IScaleoutService scaleoutService, IGameRoundService gameRoundService) {
     this.scaleoutService = scaleoutService;
     this.gameRoundService = gameRoundService;
 }