Exemplo n.º 1
0
 public ExpressionProfileTask(
     IExecutionContext executionContext,
     IBuildingBlockTask buildingBlockTask,
     IApplicationController applicationController) :
     base(executionContext, buildingBlockTask, applicationController, PKSimBuildingBlockType.ExpressionProfile)
 {
 }
 protected override void Context()
 {
     _buildingBlockTask     = A.Fake <IBuildingBlockTask>();
     _buildingBlockToDelete = A.Fake <IPKSimBuildingBlock>();
     sut = new DeleteBuildingBlockUICommand(_buildingBlockTask);
     sut.For(_buildingBlockToDelete);
 }
Exemplo n.º 3
0
 public BuildingBlockExplorerPresenter(IBuildingBlockExplorerView view, ITreeNodeFactory treeNodeFactory, ITreeNodeContextMenuFactory treeNodeContextMenuFactory, IMultipleTreeNodeContextMenuFactory multipleTreeNodeContextMenuFactory, IBuildingBlockIconRetriever buildingBlockIconRetriever,
                                       IRegionResolver regionResolver, IBuildingBlockTask buildingBlockTask, IToolTipPartCreator toolTipPartCreator, IProjectRetriever projectRetriever, IClassificationPresenter classificationPresenter, IObservedDataInExplorerPresenter observedDataInExplorerPresenter)
     : base(view, treeNodeFactory, treeNodeContextMenuFactory, multipleTreeNodeContextMenuFactory, buildingBlockIconRetriever, regionResolver, buildingBlockTask, RegionNames.BuildingBlockExplorer, projectRetriever, classificationPresenter, toolTipPartCreator)
 {
     _observedDataInExplorerPresenter = observedDataInExplorerPresenter;
     _observedDataInExplorerPresenter.InitializeWith(this, classificationPresenter, RootNodeTypes.ObservedDataFolder);
 }
Exemplo n.º 4
0
 protected override void Context()
 {
     _entityToClone     = A.Fake <IPKSimBuildingBlock>();
     _buildingBlockTask = A.Fake <IBuildingBlockTask>();
     sut = new CloneBuildingBlockCommand <IPKSimBuildingBlock>(_buildingBlockTask);
     sut.For(_entityToClone);
 }
 public RenameBuildingBlockTask(
     IBuildingBlockTask buildingBlockTask,
     IBuildingBlockInProjectManager buildingBlockInProjectManager,
     IApplicationController applicationController,
     ILazyLoadTask lazyLoadTask, IContainerTask containerTask,
     IHeavyWorkManager heavyWorkManager,
     IRenameAbsolutePathVisitor renameAbsolutePathVisitor,
     IObjectReferencingRetriever objectReferencingRetriever,
     IProjectRetriever projectRetriever,
     IParameterIdentificationSimulationPathUpdater simulationPathUpdater,
     IDataRepositoryNamer dataRepositoryNamer,
     ICurveNamer curveNamer,
     IExpressionProfileUpdater expressionProfileUpdater)
 {
     _buildingBlockTask             = buildingBlockTask;
     _buildingBlockInProjectManager = buildingBlockInProjectManager;
     _applicationController         = applicationController;
     _lazyLoadTask               = lazyLoadTask;
     _containerTask              = containerTask;
     _heavyWorkManager           = heavyWorkManager;
     _renameAbsolutePathVisitor  = renameAbsolutePathVisitor;
     _objectReferencingRetriever = objectReferencingRetriever;
     _projectRetriever           = projectRetriever;
     _simulationPathUpdater      = simulationPathUpdater;
     _dataRepositoryNamer        = dataRepositoryNamer;
     _curveNamer = curveNamer;
     _expressionProfileUpdater = expressionProfileUpdater;
 }
Exemplo n.º 6
0
        protected override void Context()
        {
            _applicationController            = A.Fake <IApplicationController>();
            _buildingBlockTask                = A.Fake <IBuildingBlockTask>();
            _buildingBlockInSimulationManager = A.Fake <IBuildingBlockInSimulationManager>();
            _lazyloadTask               = A.Fake <ILazyLoadTask>();
            _heavyWorkManager           = A.Fake <IHeavyWorkManager>();
            _containerTask              = A.Fake <IContainerTask>();
            _objectReferencingRetriever = A.Fake <IObjectReferencingRetriever>();
            _projectRetriever           = A.Fake <IProjectRetriever>();
            _renameAbsolutePathVisitor  = new RenameAbsolutePathVisitor();
            _objectPathFactory          = new ObjectPathFactoryForSpecs();
            _parameterIdentificationSimulationPathUpdater = A.Fake <IParameterIdentificationSimulationPathUpdater>();
            _dataRepositoryNamer = A.Fake <IDataRepositoryNamer>();
            _curveNamer          = A.Fake <ICurveNamer>();

            sut = new RenameBuildingBlockTask(_buildingBlockTask, _buildingBlockInSimulationManager, _applicationController, _lazyloadTask,
                                              _containerTask, _heavyWorkManager, _renameAbsolutePathVisitor, _objectReferencingRetriever, _projectRetriever, _parameterIdentificationSimulationPathUpdater, _dataRepositoryNamer, _curveNamer);

            _initialSimulationName      = "S";
            _individualSimulation       = new IndividualSimulation().WithName(_initialSimulationName);
            _individualSimulation.Model = new Model().WithName(_initialSimulationName);
            _simulation = _individualSimulation;
            _root       = new Container().WithName(_initialSimulationName);
            _individualSimulation.Model.Root = _root;
        }
        protected override void Context()
        {
            _dialogCreator               = A.Fake <IDialogCreator>();
            _applicationConfiguration    = A.Fake <IApplicationConfiguration>();
            _contentLoader               = A.Fake <IContentLoader>();
            _mobiExportTask              = A.Fake <IMoBiExportTask>();
            _relatedItemSerializer       = A.Fake <IRelatedItemSerializer>();
            _observedDataTask            = A.Fake <IObservedDataTask>();
            _buildingBlockTask           = A.Fake <IBuildingBlockTask>();
            _objectIdResetter            = A.Fake <IObjectIdResetter>();
            _withIdRepository            = A.Fake <IWithIdRepository>();
            _parameterIdentificationTask = A.Fake <IParameterIdentificationTask>();
            _sensitivityAnalysisTask     = A.Fake <ISensitivityAnalysisTask>();

            sut = new ReloadRelatedItemTask(_applicationConfiguration, _contentLoader, _dialogCreator,
                                            _mobiExportTask, _relatedItemSerializer, _observedDataTask, _buildingBlockTask, _objectIdResetter, _withIdRepository, _parameterIdentificationTask, _sensitivityAnalysisTask);

            _relatedItem = new RelatedItem {
                FullPath = _fullPath, Content = new Content {
                    Data = new byte[] { 10, 20 }
                }
            };

            A.CallTo(() => _applicationConfiguration.Product).Returns(Origins.PKSim);
        }
 public ExportSimulationSnapshotUICommand(SimulationMapper simulationMapper, IPKSimProjectRetriever projectRetriever, IBuildingBlockTask buildingBlockTask, ISnapshotTask snapshotTask)
 {
     _simulationMapper  = simulationMapper;
     _projectRetriever  = projectRetriever;
     _buildingBlockTask = buildingBlockTask;
     _snapshotTask      = snapshotTask;
 }
Exemplo n.º 9
0
 public CompoundTask(IExecutionContext executionContext, IBuildingBlockTask buildingBlockTask, IApplicationController applicationController,
                     IBuildingBlockRepository buildingBlockRepository, IDialogCreator dialogCreator)
     : base(executionContext, buildingBlockTask, applicationController, PKSimBuildingBlockType.Compound)
 {
     _buildingBlockRepository = buildingBlockRepository;
     _dialogCreator           = dialogCreator;
 }
Exemplo n.º 10
0
 public SimulationSubjectTask(IIndividualTask individualTask, IPopulationTask populationTask,
                              IApplicationController applicationController, IBuildingBlockTask buildingBlockTask)
 {
     _individualTask        = individualTask;
     _populationTask        = populationTask;
     _applicationController = applicationController;
     _buildingBlockTask     = buildingBlockTask;
 }
Exemplo n.º 11
0
 public ObserverSetTask(
     IExecutionContext executionContext,
     IBuildingBlockTask buildingBlockTask,
     IApplicationController applicationController
     ) :
     base(executionContext, buildingBlockTask, applicationController, PKSimBuildingBlockType.ObserverSet)
 {
 }
 protected override void Context()
 {
     _buildingBlockTask         = A.Fake <IBuildingBlockTask>();
     _importPopulationPresenter = A.Fake <IImportPopulationPresenter>();
     _applicationController     = A.Fake <IApplicationController>();
     A.CallTo(() => _applicationController.Start <IImportPopulationPresenter>()).Returns(_importPopulationPresenter);
     sut = new ImportPopulationCommand(_applicationController, _buildingBlockTask);
 }
Exemplo n.º 13
0
 public FormulationTask(IExecutionContext executionContext, IBuildingBlockTask buildingBlockTask, IApplicationController applicationController, IDataImporter dataImporter,
                        IDimensionRepository dimensionRepository, IFormulaFactory formulaFactory)
     : base(executionContext, buildingBlockTask, applicationController, PKSimBuildingBlockType.Formulation)
 {
     DimensionRepository  = dimensionRepository;
     _dataImporter        = dataImporter;
     _dimensionRepository = dimensionRepository;
     _formulaFactory      = formulaFactory;
 }
Exemplo n.º 14
0
 public CloneSimulationTask(IBuildingBlockTask buildingBlockTask, IExecutionContext executionContext, IBuildingBlockInSimulationManager buildingBlockInSimulationManager,
                            ISimulationSettingsRetriever simulationSettingsRetriever, ISimulationResultsTask simulationResultsTask, IApplicationController applicationController)
 {
     _buildingBlockTask = buildingBlockTask;
     _executionContext  = executionContext;
     _buildingBlockInSimulationManager = buildingBlockInSimulationManager;
     _simulationSettingsRetriever      = simulationSettingsRetriever;
     _simulationResultsTask            = simulationResultsTask;
     _applicationController            = applicationController;
 }
 public CloneSimulationTask(IBuildingBlockTask buildingBlockTask, IBuildingBlockInProjectManager buildingBlockInProjectManager,
                            ISimulationSettingsRetriever simulationSettingsRetriever, ISimulationResultsTask simulationResultsTask, IApplicationController applicationController, IRenameBuildingBlockTask renameBuildingBlockTask)
 {
     _buildingBlockTask             = buildingBlockTask;
     _buildingBlockInProjectManager = buildingBlockInProjectManager;
     _simulationSettingsRetriever   = simulationSettingsRetriever;
     _simulationResultsTask         = simulationResultsTask;
     _applicationController         = applicationController;
     _renameBuildingBlockTask       = renameBuildingBlockTask;
 }
Exemplo n.º 16
0
 protected override void Context()
 {
     _buildingBlockTask = A.Fake <IBuildingBlockTask>();
     _buildingBlockInSimulationManager = A.Fake <IBuildingBlockInSimulationManager>();
     _simulationSettingsRetriever      = A.Fake <ISimulationSettingsRetriever>();
     _simulationResultsTask            = A.Fake <ISimulationResultsTask>();
     _applicationController            = A.Fake <IApplicationController>();
     _renameBuildingBlockTask          = A.Fake <IRenameBuildingBlockTask>();
     sut = new CloneSimulationTask(_buildingBlockTask, _buildingBlockInSimulationManager, _simulationSettingsRetriever, _simulationResultsTask, _applicationController, _renameBuildingBlockTask);
 }
Exemplo n.º 17
0
 public SimulationTask(IExecutionContext executionContext, IBuildingBlockTask buildingBlockTask, IApplicationController applicationController,
                       ISimulationBuildingBlockUpdater simulationBuildingBlockUpdater, IConfigureSimulationTask configureSimulationTask,
                       IBuildingBlockParametersToSimulationUpdater blockParametersToSimulationUpdater, ISimulationParametersToBuildingBlockUpdater simulationParametersToBlockUpdater)
     : base(executionContext, buildingBlockTask, applicationController, PKSimBuildingBlockType.Simulation)
 {
     _simulationBuildingBlockUpdater     = simulationBuildingBlockUpdater;
     _configureSimulationTask            = configureSimulationTask;
     _blockParametersToSimulationUpdater = blockParametersToSimulationUpdater;
     _simulationParametersToBlockUpdater = simulationParametersToBlockUpdater;
 }
Exemplo n.º 18
0
 protected override void Context()
 {
     _individualTask        = A.Fake <IIndividualTask>();
     _applicationController = A.Fake <IApplicationController>();
     _populationTask        = A.Fake <IPopulationTask>();
     _presenter             = A.Fake <ISimulationSubjectSelectionPresenter>();
     _buildingBlockTask     = A.Fake <IBuildingBlockTask>();
     A.CallTo(() => _applicationController.Start <ISimulationSubjectSelectionPresenter>()).Returns(_presenter);
     sut = new SimulationSubjectTask(_individualTask, _populationTask, _applicationController, _buildingBlockTask);
 }
 public SimulationExplorerPresenter(ISimulationExplorerView view, ITreeNodeFactory treeNodeFactory, ITreeNodeContextMenuFactory treeNodeContextMenuFactory,
                                    IMultipleTreeNodeContextMenuFactory multipleTreeNodeContextMenuFactory, IBuildingBlockIconRetriever buildingBlockIconRetriever,
                                    IRegionResolver regionResolver, IBuildingBlockTask buildingBlockTask, IBuildingBlockInSimulationManager buildingBlockInSimulationManager,
                                    IToolTipPartCreator toolTipPartCreator, IProjectRetriever projectRetriever, IClassificationPresenter classificationPresenter, IParameterAnalysablesInExplorerPresenter parameterAnalysablesInExplorerPresenter, IObservedDataInSimulationManager observedDataInSimulationManager) :
     base(view, treeNodeFactory, treeNodeContextMenuFactory, multipleTreeNodeContextMenuFactory, buildingBlockIconRetriever, regionResolver, buildingBlockTask, RegionNames.SimulationExplorer, projectRetriever, classificationPresenter, toolTipPartCreator)
 {
     _buildingBlockInSimulationManager        = buildingBlockInSimulationManager;
     _parameterAnalysablesInExplorerPresenter = parameterAnalysablesInExplorerPresenter;
     _observedDataInSimulationManager         = observedDataInSimulationManager;
     _parameterAnalysablesInExplorerPresenter.InitializeWith(this, classificationPresenter);
 }
Exemplo n.º 20
0
 public ConfigureSimulationTask(IBuildingBlockTask buildingBlockTask, IActiveSubjectRetriever activeSubjectRetriever,
                                ISimulationSettingsRetriever simulationSettingsRetriever, IApplicationController applicationController, IExecutionContext executionContext,
                                IParameterIdUpdater parameterIdUpdater, ISimulationResultsTask simulationResultsTask)
 {
     _buildingBlockTask           = buildingBlockTask;
     _activeSubjectRetriever      = activeSubjectRetriever;
     _simulationSettingsRetriever = simulationSettingsRetriever;
     _applicationController       = applicationController;
     _executionContext            = executionContext;
     _parameterIdUpdater          = parameterIdUpdater;
     _simulationResultsTask       = simulationResultsTask;
 }
Exemplo n.º 21
0
 protected ExplorerPresenter(TView view, ITreeNodeFactory treeNodeFactory, ITreeNodeContextMenuFactory treeNodeContextMenuFactory,
                             IMultipleTreeNodeContextMenuFactory multipleTreeNodeContextMenuFactory,
                             IBuildingBlockIconRetriever buildingBlockIconRetriever, IRegionResolver regionResolver, IBuildingBlockTask buildingBlockTask, RegionName regionName,
                             IProjectRetriever projectRetriever, IClassificationPresenter classificationPresenter, IToolTipPartCreator toolTipPartCreator) :
     base(view, regionResolver, classificationPresenter, toolTipPartCreator, regionName, projectRetriever)
 {
     _treeNodeFactory                    = treeNodeFactory;
     _treeNodeContextMenuFactory         = treeNodeContextMenuFactory;
     _multipleTreeNodeContextMenuFactory = multipleTreeNodeContextMenuFactory;
     _buildingBlockIconRetriever         = buildingBlockIconRetriever;
     _buildingBlockTask                  = buildingBlockTask;
 }
Exemplo n.º 22
0
        protected override void Context()
        {
            _executionContext      = A.Fake <IExecutionContext>();
            _buildingBlockTask     = A.Fake <IBuildingBlockTask>();
            _applicationController = A.Fake <IApplicationController>();
            _compound = new Compound().WithId("Drug").WithName("Drug");
            _buildingBlockRepository = A.Fake <IBuildingBlockRepository>();
            _dialogCreator           = A.Fake <IDialogCreator>();
            sut = new CompoundTask(_executionContext, _buildingBlockTask, _applicationController, _buildingBlockRepository, _dialogCreator);

            A.CallTo(() => _buildingBlockTask.SaveAsTemplate(A <ICache <IPKSimBuildingBlock, IReadOnlyList <IPKSimBuildingBlock> > > ._, TemplateDatabaseType.User))
            .Invokes(x => _cache = x.GetArgument <ICache <IPKSimBuildingBlock, IReadOnlyList <IPKSimBuildingBlock> > >(0));
        }
Exemplo n.º 23
0
 protected override void Context()
 {
     _executionContext            = A.Fake <IExecutionContext>();
     _buildingBlockTask           = A.Fake <IBuildingBlockTask>();
     _applicationController       = A.Fake <IApplicationController>();
     _activeSubjectRetriever      = A.Fake <IActiveSubjectRetriever>();
     _simulationSettingsRetriever = A.Fake <ISimulationSettingsRetriever>();
     _parameterIdUpdater          = A.Fake <IParameterIdUpdater>();
     _simulationResultsTask       = A.Fake <ISimulationResultsTask>();
     _parameterIdentificationTask = A.Fake <IParameterIdentificationTask>();
     sut = new ConfigureSimulationTask(_buildingBlockTask, _activeSubjectRetriever, _simulationSettingsRetriever, _applicationController,
                                       _executionContext, _parameterIdUpdater, _simulationResultsTask);
 }
Exemplo n.º 24
0
 protected override void Context()
 {
     _buildingBlockTask         = A.Fake <IBuildingBlockTask>();
     _executionContext          = A.Fake <IExecutionContext>();
     _project                   = A.Fake <PKSimProject>();
     _population                = A.Fake <RandomPopulation>();
     _randomPopulationPresenter = A.Fake <ICreateRandomPopulationPresenter>();
     _applicationController     = A.Fake <IApplicationController>();
     A.CallTo(() => _applicationController.Start <ICreateRandomPopulationPresenter>()).Returns(_randomPopulationPresenter);
     A.CallTo(() => _randomPopulationPresenter.BuildingBlock).Returns(_population);
     A.CallTo(() => _buildingBlockTask.TypeFor(_population)).Returns("pop");
     A.CallTo(() => _executionContext.CurrentProject).Returns(_project);
     sut = new PopulationTask(_executionContext, _buildingBlockTask, _applicationController);
 }
Exemplo n.º 25
0
 protected override void Context()
 {
     _executionContext                   = A.Fake <IExecutionContext>();
     _configureSimulationTask            = A.Fake <IConfigureSimulationTask>();
     _createSimulationPresenter          = A.Fake <ICreateSimulationPresenter>();
     _buildingBlockTask                  = A.Fake <IBuildingBlockTask>();
     _simulationBuildingBlockUpdater     = A.Fake <ISimulationBuildingBlockUpdater>();
     _applicationController              = A.Fake <IApplicationController>();
     _simulationParametersToBlockUpdater = A.Fake <ISimulationParametersToBuildingBlockUpdater>();
     _blockParametersToSimulationUpdater = A.Fake <IBuildingBlockParametersToSimulationUpdater>();
     A.CallTo(() => _applicationController.Start <ICreateSimulationPresenter>()).Returns(_createSimulationPresenter);
     sut = new SimulationTask(_executionContext, _buildingBlockTask, _applicationController, _simulationBuildingBlockUpdater,
                              _configureSimulationTask, _blockParametersToSimulationUpdater, _simulationParametersToBlockUpdater);
 }
Exemplo n.º 26
0
 public SimulationExportTask(IBuildingBlockTask buildingBlockTask, IDialogCreator dialogCreator, IDataRepositoryTask dataRepositoryTask,
                             IQuantityPathToQuantityDisplayPathMapper quantityDisplayPathMapper, IStringSerializer stringSerializer,
                             IModelReportCreator modelReportCreator, ISimulationToModelCoreSimulationMapper coreSimulationMapper, ISimModelExporter simModelExporter, ISimulationResultsToDataTableConverter simulationResultsToDataTableConverter)
 {
     _buildingBlockTask                     = buildingBlockTask;
     _dialogCreator                         = dialogCreator;
     _dataRepositoryTask                    = dataRepositoryTask;
     _quantityDisplayPathMapper             = quantityDisplayPathMapper;
     _stringSerializer                      = stringSerializer;
     _modelReportCreator                    = modelReportCreator;
     _coreSimulationMapper                  = coreSimulationMapper;
     _simModelExporter                      = simModelExporter;
     _simulationResultsToDataTableConverter = simulationResultsToDataTableConverter;
 }
Exemplo n.º 27
0
 protected override void Context()
 {
     _quantityDisplayPathMapper             = A.Fake <IQuantityPathToQuantityDisplayPathMapper>();
     _buildingBlockTask                     = A.Fake <IBuildingBlockTask>();
     _dialogCreator                         = A.Fake <IDialogCreator>();
     _dataRepositoryTask                    = A.Fake <IDataRepositoryTask>();
     _stringSerializer                      = A.Fake <IStringSerializer>();
     _modelReportCreator                    = A.Fake <IModelReportCreator>();
     _simulationMapper                      = A.Fake <ISimulationToModelCoreSimulationMapper>();
     _simModelExporter                      = A.Fake <ISimModelExporter>();
     _simulationResultsToDataTableConverter = A.Fake <ISimulationResultsToDataTableConverter>();
     sut = new SimulationExportTask(_buildingBlockTask, _dialogCreator, _dataRepositoryTask, _quantityDisplayPathMapper,
                                    _stringSerializer, _modelReportCreator, _simulationMapper, _simModelExporter, _simulationResultsToDataTableConverter);
 }
Exemplo n.º 28
0
 public ReloadRelatedItemTask(IApplicationConfiguration applicationConfiguration, OSPSuite.Core.Journal.IContentLoader contentLoader, IDialogCreator dialogCreator,
                              IMoBiExportTask moBiExportTask, IRelatedItemSerializer relatedItemSerializer, IObservedDataTask observedDataTask,
                              IBuildingBlockTask buildingBlockTask, IObjectIdResetter objectIdResetter, IWithIdRepository withIdRepository,
                              IParameterIdentificationTask parameterIdentificationTask, ISensitivityAnalysisTask sensitivityAnalysisTask) :
     base(applicationConfiguration, contentLoader, dialogCreator)
 {
     _moBiExportTask              = moBiExportTask;
     _relatedItemSerializer       = relatedItemSerializer;
     _observedDataTask            = observedDataTask;
     _buildingBlockTask           = buildingBlockTask;
     _objectIdResetter            = objectIdResetter;
     _withIdRepository            = withIdRepository;
     _parameterIdentificationTask = parameterIdentificationTask;
     _sensitivityAnalysisTask     = sensitivityAnalysisTask;
 }
Exemplo n.º 29
0
 protected override void Context()
 {
     _createIndividualPresenter = A.Fake <ICreateIndividualPresenter>();
     _buildingBlockTask         = A.Fake <IBuildingBlockTask>();
     _scaleIndividualPresenter  = A.Fake <IScaleIndividualPresenter>();
     _executionContext          = A.Fake <IExecutionContext>();
     _applicationController     = A.Fake <IApplicationController>();
     A.CallTo(() => _executionContext.CurrentProject).Returns(A.Fake <PKSimProject>());
     _individual = A.Fake <Individual>();
     A.CallTo(() => _applicationController.Start <ICreateIndividualPresenter>()).Returns(_createIndividualPresenter);
     A.CallTo(() => _applicationController.Start <IScaleIndividualPresenter>()).Returns(_scaleIndividualPresenter);
     A.CallTo(() => _createIndividualPresenter.BuildingBlock).Returns(_individual);
     A.CallTo(() => _buildingBlockTask.TypeFor(_individual)).Returns("Individual");
     sut = new IndividualTask(_executionContext, _buildingBlockTask, _applicationController);
 }
Exemplo n.º 30
0
 public TrainingMaterialTask(IBuildingBlockTask buildingBlockTask, IWorkspace workspace, IBatchLogger logger, IBatchToCoreMapper mapper,
                             ISimulationEngineFactory simulationEngineFactory, ISimulationConstructor simulationConstructor, ISimulationSettingsRetriever simulationSettingsRetriever,
                             IObservedDataTask observedDataTask, IProjectTask projectTask, IParameterAlternativeFactory parameterAlternativeFactory,
                             ICompoundAlternativeTask compoundAlternativeTask, ITrainingObservedDataRepository observedDataRepository)
 {
     _buildingBlockTask           = buildingBlockTask;
     _workspace                   = workspace;
     _logger                      = logger;
     _mapper                      = mapper;
     _simulationEngineFactory     = simulationEngineFactory;
     _simulationConstructor       = simulationConstructor;
     _simulationSettingsRetriever = simulationSettingsRetriever;
     _observedDataTask            = observedDataTask;
     _projectTask                 = projectTask;
     _parameterAlternativeFactory = parameterAlternativeFactory;
     _compoundAlternativeTask     = compoundAlternativeTask;
     _observedDataRepository      = observedDataRepository;
 }