Example #1
0
 public FigureCreatorDecorator(IFigureCreator figureCreator,
                               IFigureViewModel figureViewModel,
                               IFigureViewFactory figureViewFactory)
 {
     FigureCreator     = figureCreator.CheckNull();
     FigureViewModel   = figureViewModel.CheckNull();
     FigureViewFactory = figureViewFactory.CheckNull();
 }
Example #2
0
 public FigurePresenter(IBoardViewModel boardViewModel,
                        IFigureController figureController,
                        IFigureViewModel figureViewModel,
                        IFigureViewFactory figureViewFactory)
 {
     BoardViewModel    = boardViewModel.CheckNull();
     FigureController  = figureController.CheckNull();
     FigureViewModel   = figureViewModel.CheckNull();
     FigureViewFactory = figureViewFactory.CheckNull();
 }