Ejemplo n.º 1
0
 public JoinModel(IPlayerAppService playerAppService, IAccountContext account,
                  INotificationHandler <DomainNotification> notifications, IOptionsMonitor <AppConfig> appConfig, IMediatorHandler bus) : base(appConfig)
 {
     _account          = account;
     _playerAppService = playerAppService;
     _notifications    = (DomainNotificationHandler)notifications;
     _bus = bus;
 }
Ejemplo n.º 2
0
 public EditModel(
     ILogger <IndexModel> logger,
     IPlayerAppService playerAppService,
     IMapper mapper,
     IOptionsMonitor <AppConfig> appConfig)
     : base(logger)
 {
     _mapper           = mapper;
     _playerAppService = playerAppService;
     _appConfig        = appConfig.CurrentValue;
 }
 public PlayersController(IPlayerAppService playerAppService, IHeroAppService heroAppService)
 {
     _playerAppService = playerAppService;
     _heroAppService   = heroAppService;
 }
Ejemplo n.º 4
0
 public PlayerController(IPlayerAppService playerAppService)
 {
     _playerAppService = playerAppService;
 }
Ejemplo n.º 5
0
 public PlayerController(IPlayerAppService playerAppService, IMapper mapper)
 {
     _playerAppService = playerAppService;
     _mapper           = mapper;
 }
 public PlayerAppServiceTests()
 {
     _playerAppService = Resolve <IPlayerAppService>();
 }
Ejemplo n.º 7
0
 public PlayerController(IPlayerAppService playerService,
                         INotificationHandler <DomainNotification> notifications, IAccountContext accountContext) : base(notifications)
 {
     _playerService  = playerService;
     _accountContext = accountContext;
 }
Ejemplo n.º 8
0
 public GameHubHelper(IPlayerAppService playerAppService, IFruitAppService fruitAppService, IHubContext <GameHub> hubContext)
 {
     _fruitAppService  = fruitAppService;
     _playerAppService = playerAppService;
     _hubContext       = hubContext;
 }
Ejemplo n.º 9
0
 public GameHub(IFruitAppService fruitAppService, IPlayerAppService playerAppService)
 {
     _playerAppService = playerAppService;
     _fruitAppService  = fruitAppService;
 }
Ejemplo n.º 10
0
 public PlayersController(IPlayerAppService service)
 {
     _service = service;
 }