コード例 #1
0
 /// <summary>
 /// This constructor is used only when testing with Mocks
 /// </summary>
 /// <param name="view"></param>
 /// <param name="model"></param>
 public PermittingPresenter(IPermittingView view, EquipmentModel model)
 {
     _view = view;
     _equipmentModel = model;
 }
コード例 #2
0
        public PermittingViewModel(IPermittingView view, EquipmentModel equipmentModel)
        {
            _view = view;

            _equipmentModel = equipmentModel;
        }
コード例 #3
0
 public PermittingPresenter(IPermittingView view)
 {
     _view = view;
     _viewModel = new PermittingViewModel(view);
     _equipmentModel = new EquipmentModel();
 }
コード例 #4
0
        public PermittingViewModel(IPermittingView view)
        {
            _view = view;

            _equipmentModel = new EquipmentModel(new EFUnitOfWork());
        }