Ejemplo n.º 1
0
 public ReplayController()
 {
     _bkaDataGetter        = new BkaDataGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString, new BkaDataParser());
     _gameRecordingsGetter = new GameRecordingsGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gamesGetter          = new GamesGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _playedGamesGetter    = new PlayedGamesGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gameRecordingProviderStatisticsGetter = new GameRecordingProviderStatisticsGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _replayGamesDatatablesDataGetter       = new ReplayGamesDatatablesDataGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
     _gameRecordingDurationGetter           = new GameRecordingDurationGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString);
 }
Ejemplo 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();
 }
 public CameraViewNamesGetter(string connectionString) : base(connectionString)
 {
     _playedGamesGetter    = new PlayedGamesGetter(connectionString);
     _gameRecordingsGetter = new GameRecordingsGetter(connectionString);
 }