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