コード例 #1
0
 protected override void Context()
 {
     _view         = A.Fake <IImportQuantityView>();
     _moBiContext  = A.Fake <IMoBiContext>();
     _mapper       = A.Fake <IDataTableToImportQuantityDTOMapperForSimulations>();
     _quantityTask = A.Fake <IQuantityTask>();
     sut           = new ImportQuantitiesForSimulationPresenter(_view, A.Fake <IDialogCreator>(), A.Fake <IImportFromExcelTask>(), _mapper, _quantityTask, _moBiContext);
 }
コード例 #2
0
 public ImportQuantitiesForSimulationPresenter(
     IImportQuantityView view,
     IDialogCreator dialogCreator,
     IImportFromExcelTask excelTask,
     IDataTableToImportQuantityDTOMapperForSimulations mapper,
     IQuantityTask quantityTask,
     IMoBiContext context)
     : base(view, dialogCreator, excelTask)
 {
     _quantityTask = quantityTask;
     _mapper       = mapper;
     _context      = context;
 }