private void convertIndividualSimulationSettings(IndividualSimulation simulation) { _simulationPersistableUpdater.ResetPersistable(simulation); foreach (var observer in simulation.All <IObserver>().Where(x => x.Persistable)) { simulation.OutputSelections.AddOutput(new QuantitySelection(_entityPathResolver.PathFor(observer), observer.QuantityType)); } }
public void EditSimulation(IndividualSimulation simulation) { _parameterGroupsPresenter.InitializeWith(simulation.Model.Root, simulation.All <IParameter>()); }