Esempio n. 1
0
        public ViewInfrastructure Create()
        {
            CheckCommand     checkCommand = new CheckCommand();
            CheckerModel     model        = new CheckerModel();
            CheckerViewModel viewModel    = new CheckerViewModel(model, checkCommand);
            CheckerView      view         = new CheckerView();

            checkCommand.CheckerViewModel = viewModel;

            return(new ViewInfrastructure(view, viewModel, model));
        }
 public ViewInfrastructure(CheckerView view, CheckerViewModel viewModel, CheckerModel model)
 {
     this.CheckerView      = view;
     this.CheckerViewModel = viewModel;
     this.CheckerModel     = model;
 }