Exemple #1
0
        public TurnCountPresenter(ITurnCountUseCase turnCountUseCase, TurnCountView turnCountView)
        {
            turnCountView.Init();

            turnCountUseCase.TurnCount()
            .Subscribe(turnCountView.Display)
            .AddTo(turnCountView);
        }
Exemple #2
0
 private void Construct(ITurnCountUseCase turnCountUseCase, TurnCountView turnCountView)
 {
     _turnCountUseCase = turnCountUseCase;
     _turnCountView    = turnCountView;
 }