예제 #1
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();
 }
예제 #2
0
 public KarmaController()
 {
     _playerAdminChecker = new PlayerAdminChecker();
     _karmaGetter        = new KarmaGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _bkaDataGetter      = new BkaDataGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString, new BkaDataParser());
 }
예제 #3
0
 public AdminController()
 {
     _playerAdminChecker = new PlayerAdminChecker();
 }