Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #2073 Allow simple properties to be copied from SimulationConfiguration #2074

Conversation

rwmcintosh
Copy link
Member

No description provided.

@rwmcintosh rwmcintosh added this to the Update / Commit milestone Aug 14, 2023
@rwmcintosh rwmcintosh requested a review from msevestre August 14, 2023 15:45
@rwmcintosh rwmcintosh self-assigned this Aug 14, 2023
sourceConfiguration.ExpressionProfiles.Each(x => AddExpressionProfile(cloneManager.Clone(x)));
sourceConfiguration.AllCalculationMethods.Each(AddCalculationMethod);
sourceConfiguration.ModuleConfigurations.Each(x => AddModuleConfiguration(cloneManager.Clone(x)));
SimulationSettings = cloneManager.Clone(sourceConfiguration.SimulationSettings);
Individual = cloneManager.Clone(sourceConfiguration.Individual);
}

public void CopyPropertiesFrom(SimulationConfiguration sourceConfiguration)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment on this method then good to go

@rwmcintosh rwmcintosh merged commit 1f9d40c into develop Aug 15, 2023
@rwmcintosh rwmcintosh deleted the 2073-allow-simple-properties-to-be-copied-from-simulationconfiguration branch August 15, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants