Exemplo n.º 1
0
 public BansController()
 {
     _bansGetter               = new BansGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _banRemover               = new BanRemover(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _banAdapter               = new BanAdapter();
     _serverGetter             = new ServerGetter();
     _serverAdminCommandSender = new ServerAdminCommandSender();
     _banAdder = new BanAdder(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
 }
Exemplo n.º 2
0
 public RecordingsController()
 {
     _playedGamesGetter         = new PlayedGamesGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _bkaDataGetter             = new BkaDataGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString, new BkaDataParser());
     _gameRecordingAdder        = new GameRecordingAdder(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gamesGetter               = new GamesGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gameRecordingsGetter      = new GameRecordingsGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gameRecordingRemover      = new GameRecordingRemover(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _playerAdminChecker        = new PlayerAdminChecker();
     _karmaAdder                = new KarmaAdder(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gameRecordingKarmaChecker = new GameRecordingKarmaChecker(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gameRecordingKarmaAdder   = new GameRecordingKarma(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _playerIdAdapter           = new PlayerIdAdapter();
     _serverAdminCommandSender  = new ServerAdminCommandSender();
 }
Exemplo n.º 3
0
 public CrashController()
 {
     _serverAdminCommandSender          = new ServerAdminCommandSender();
     _serverCurrentInfoDictionaryGetter = new ServerCurrentInfoDictionaryDictionaryGetter();
     _serverCurrentInfoAdapter          = new ServerCurrentInfoAdapter();
 }
Exemplo n.º 4
0
 public ServerMapCycler()
 {
     _serverAdminCommandSender = new ServerAdminCommandSender();
 }