Beispiel #1
0
 public ReloadRelatedItemTask(
     IApplicationConfiguration applicationConfiguration,
     IContentLoader contentLoader,
     IDialogCreator dialogCreator,
     IRelatedItemSerializer relatedItemSerializer,
     IMoBiContext context,
     ICloneManagerForBuildingBlock cloneManagerForBuildingBlock,
     IBuildingBlockTaskRetriever taskRetriever,
     IPKSimExportTask pkSimExportTask,
     ISimulationLoader simulationLoader,
     IObservedDataTask observedDataTask,
     IObjectIdResetter objectIdResetter,
     IParameterIdentificationTask parameterIdentificationTask,
     ISensitivityAnalysisTask sensitivityAnalysisTask
     ) : base(applicationConfiguration, contentLoader, dialogCreator)
 {
     _relatedItemSerializer = relatedItemSerializer;
     _context = context;
     _cloneManagerForBuildingBlock = cloneManagerForBuildingBlock;
     _taskRetriever               = taskRetriever;
     _pkSimExportTask             = pkSimExportTask;
     _simulationLoader            = simulationLoader;
     _observedDataTask            = observedDataTask;
     _objectIdResetter            = objectIdResetter;
     _parameterIdentificationTask = parameterIdentificationTask;
     _sensitivityAnalysisTask     = sensitivityAnalysisTask;
 }
 protected override void Context()
 {
     _applicationConfiguration = A.Fake <IApplicationConfiguration>();
     _contentLoader            = A.Fake <IContentLoader>();
     _dialogCreator            = A.Fake <IDialogCreator>();
     _relatedItemSerializer    = A.Fake <IRelatedItemSerializer>();
     _simulationTask           = A.Fake <InteractionTasksForSimulation>();
     _context                     = A.Fake <IMoBiContext>();
     _cloneManager                = A.Fake <ICloneManagerForBuildingBlock>();
     _taskRetriever               = A.Fake <IBuildingBlockTaskRetriever>();
     _pkSimExportTask             = A.Fake <IPKSimExportTask>();
     _simulationLoader            = A.Fake <ISimulationLoader>();
     _objectIdResetter            = A.Fake <IObjectIdResetter>();
     _observedDataTask            = A.Fake <IObservedDataTask>();
     _parameterIdentificationTask = A.Fake <IParameterIdentificationTask>();
     _sensitivityAnalysisTask     = A.Fake <ISensitivityAnalysisTask>();
     sut = new ReloadRelatedItemTask(_applicationConfiguration, _contentLoader, _dialogCreator,
                                     _relatedItemSerializer, _context, _cloneManager, _taskRetriever, _pkSimExportTask, _simulationLoader, _observedDataTask, _objectIdResetter, _parameterIdentificationTask, _sensitivityAnalysisTask);
     _relatedItem = A.Fake <RelatedItem>();
 }
 public SendSimulationToPKSimUICommand(IPKSimExportTask pksimExportTask, IMoBiContext context)
 {
     _pksimExportTask = pksimExportTask;
     _context         = context;
 }