Ejemplo n.º 1
0
        public ISimulationComparison CreatePopulationSimulationComparison()
        {
            using (var presenter = _applicationController.Start <ISimulationSelectionForComparisonPresenter>())
            {
                var comparison = _objectBaseFactory.Create <PopulationSimulationComparison>();
                if (!presenter.Edit(comparison))
                {
                    return(null);
                }

                addComparisonToProject(comparison);

                //create a default analysis
                _simulationAnalysisCreator.CreatePopulationAnalysisFor(comparison);

                return(comparison);
            }
        }
 protected override void PerformExecute()
 {
     _simulationAnalysisCreator.CreatePopulationAnalysisFor(Subject, _populationAnalysisType);
 }