Exemplo n.º 1
0
 public ArenaState([NotNull] IPlayersRepo playersRepo, [NotNull] IGamesRepo gamesRepo, [NotNull] CountdownProvider countdownProvider, [NotNull] string godModeSecret, bool godAccessOnly, bool submitIsAllowed, bool enableDeepNavigation)
 {
     PlayersRepo          = playersRepo;
     GamesRepo            = gamesRepo;
     CountdownProvider    = countdownProvider;
     GodModeSecret        = godModeSecret;
     GodAccessOnly        = godAccessOnly;
     SubmitIsAllowed      = submitIsAllowed;
     EnableDeepNavigation = enableDeepNavigation;
 }
Exemplo n.º 2
0
 public GamesService(IGamesRepo repo)
 {
     _repo = repo;
 }
Exemplo n.º 3
0
 public MovesController(IGamesRepo gamesRepo, IMapper mapper)
 {
     this.gamesRepo = gamesRepo;
     this.mapper    = mapper;
 }
 public CachingGamesRepo([NotNull] IGamesRepo gamesRepo)
 {
     this.gamesRepo = gamesRepo;
 }
Exemplo n.º 5
0
 public GamesService(IGamesRepo gamesRepo)
 {
     _gamesRepo = gamesRepo;
 }