public GameControllerSut(
     IGameHistoryViewModel gameHistory,
     IPokerTableStatisticsViewModel overlayPokerTableStatistics,
     IPokerTableStatisticsViewModel liveStatsPokerTableStatistics,
     IConstructor <IPlayerStatistics> playerStatisticsMake,
     IPlayerStatisticsUpdater playerStatisticsUpdater,
     ITableOverlayManager tableOverlayManager,
     IPokerTableStatisticsWindowManager pokerTableStatisticsWindowManager,
     IGameHistoryWindowManager gameHistoryWindowManager)
     : base(
         gameHistory,
         overlayPokerTableStatistics,
         liveStatsPokerTableStatistics,
         playerStatisticsMake,
         playerStatisticsUpdater,
         tableOverlayManager,
         pokerTableStatisticsWindowManager,
         gameHistoryWindowManager)
 {
 }
        public RepositoryPlayersStatisticsViewModel(
            IRepository repository,
            IConstructor <IPlayerStatistics> playerStatisticsMake,
            IPlayerStatisticsUpdater playerStatisticsUpdater,
            IPlayerStatisticsViewModel playerStatisticsViewModel,
            IDetailedStatisticsAnalyzerViewModel detailedStatisticsAnalyzerViewModel,
            IActiveAnalyzablePlayersSelector activePlayersSelector,
            IFilterPopupViewModel filterPopupViewModel)
        {
            _repository                = repository;
            _playerStatisticsMake      = playerStatisticsMake;
            _playerStatisticsUpdater   = playerStatisticsUpdater;
            _playerStatisticsViewModel = playerStatisticsViewModel;
            DetailedStatisticsAnalyzer = detailedStatisticsAnalyzerViewModel;
            _activePlayersSelector     = activePlayersSelector;
            FilterPopup                = filterPopupViewModel;

            PlayerIdentities = new List <IPlayerIdentity>(_repository.RetrieveAllPlayerIdentities().OrderBy(pi => pi.Name));

            RegisterEvents();

            HeaderInfo = "Main";
        }
예제 #3
0
        public GameController(
            IGameHistoryViewModel gameHistory,
            IPokerTableStatisticsViewModel overlayPokerTableStatistics,
            IPokerTableStatisticsViewModel liveStatsPokerTableStatistics,
            IConstructor <IPlayerStatistics> playerStatisticsMake,
            IPlayerStatisticsUpdater playerStatisticsUpdater,
            ITableOverlayManager tableOverlayManager,
            IPokerTableStatisticsWindowManager liveStatsWindowManager,
            IGameHistoryWindowManager gameHistoryWindowManager)
        {
            _gameHistory = gameHistory;
            _overlayPokerTableStatistics   = overlayPokerTableStatistics;
            _liveStatsPokerTableStatistics = liveStatsPokerTableStatistics;
            _playerStatisticsMake          = playerStatisticsMake;
            _playerStatisticsUpdater       = playerStatisticsUpdater;
            _tableOverlayManager           = tableOverlayManager;
            _liveStatsWindow   = liveStatsWindowManager;
            _gameHistoryWindow = gameHistoryWindowManager;

            RegisterEvents();

            PlayerStatistics = new Dictionary <string, IPlayerStatistics>();
        }
예제 #4
0
 public RepositoryPlayersStatisticsViewModelSut(IRepository repository, IConstructor <IPlayerStatistics> playerStatisticsMake, IPlayerStatisticsUpdater playerStatisticsUpdater, IPlayerStatisticsViewModel playerStatisticsViewModel, IDetailedStatisticsAnalyzerViewModel detailedStatisticsAnalyzerViewModel, IActiveAnalyzablePlayersSelector activePlayersSelector, IFilterPopupViewModel filterPopupViewModel)
     : base(repository, playerStatisticsMake, playerStatisticsUpdater, playerStatisticsViewModel, detailedStatisticsAnalyzerViewModel, activePlayersSelector, filterPopupViewModel)
 {
 }