public object Clone() { // Returns a deep (value-wise) copy of the object EnvironmentComponent clone = new EnvironmentComponent(); clone.FromXml(ToXml()); return(clone); }
public ScenarioComponent() { ElementType = "SCENARIO"; ScenarioName = "Unknown Scenario"; SimParams = new SimulationParametersElement(); SchParams = new SchedulerParametersElement(); Targetdeck = new TargetdeckComponent(); Environment = new EnvironmentComponent(); Model = new ModelComponent(); }