Esempio n. 1
0
 public GameController(
     Core.Models.GameManager gameManager,
     AsDto asDto)
 {
     _gameManager = gameManager;
     _asDto       = asDto;
 }
Esempio n. 2
0
 /// <summary>
 /// Initialises a new instance of the <see cref="EventReducer" /> class.
 /// </summary>
 /// <param name="gameHub">The game hub used for notifications.</param>
 /// <param name="asDto">The entity DTO converter.</param>
 public EventReducer(IHubContext <GameHub> gameHub, AsDto asDto)
 {
     _gameHub = gameHub;
     _asDto   = asDto;
 }