public void EditSimulation(Simulation simulation, CreationMode creationMode) { _simulation = simulation; _observerSetProperties = simulation.ObserverSetProperties; _allObserverSetMappingDTOs.Clear(); _observerSetProperties.ObserverSetMappings.Each(addObserverSetMapping); _view.BindTo(_allObserverSetMappingDTOs); }
public void EditSimulation(Simulation simulation, CreationMode creationMode) { _simulation = simulation; _eventProperties = simulation.EventProperties; _allEventsMappingDTO.Clear(); _eventProperties.EventMappings.Each(addEventMapping); _view.BindTo(_allEventsMappingDTO); }