Example #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;
 }
Example #2
0
 public GamesService(IGamesRepo repo)
 {
     _repo = repo;
 }
Example #3
0
 public MovesController(IGamesRepo gamesRepo, IMapper mapper)
 {
     this.gamesRepo = gamesRepo;
     this.mapper    = mapper;
 }
 public CachingGamesRepo([NotNull] IGamesRepo gamesRepo)
 {
     this.gamesRepo = gamesRepo;
 }
Example #5
0
 public GamesService(IGamesRepo gamesRepo)
 {
     _gamesRepo = gamesRepo;
 }