示例#1
0
 public FigurePresenter(IBoardViewModel boardViewModel,
                        IFigureController figureController,
                        IFigureViewModel figureViewModel,
                        IFigureViewFactory figureViewFactory)
 {
     BoardViewModel    = boardViewModel.CheckNull();
     FigureController  = figureController.CheckNull();
     FigureViewModel   = figureViewModel.CheckNull();
     FigureViewFactory = figureViewFactory.CheckNull();
 }
示例#2
0
 public GamePresenter(IBoardView boardView,
                      IGameMaster gameMaster,
                      IBoardModel boardModel,
                      IBoardViewModel boardViewModel)
 {
     BoardView      = boardView.CheckNull();
     GameMaster     = gameMaster.CheckNull();
     BoardModel     = boardModel.CheckNull();
     BoardViewModel = boardViewModel.CheckNull();
 }