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