Beispiel #1
0
        public override void AddParameters(IReadOnlyList <ParameterSelection> parameters)
        {
            parameters.Select(parameterSelection => _sensitivityParameterFactory.CreateFor(parameterSelection, _sensitivityAnalysis))
            .Where(sensitivityParameter => sensitivityParameter != null)
            .Each(sensitivityParameter => _sensitivityAnalysis.AddSensitivityParameter(sensitivityParameter));

            updateView();
            ViewChanged();
        }
 public void AddParametersTo(SensitivityAnalysis sensitivityAnalysis, IReadOnlyList <ParameterSelection> parameters)
 {
     parameters.Select(parameterSelection => _sensitivityParameterFactory.CreateFor(parameterSelection, sensitivityAnalysis))
     .Where(sensitivityParameter => sensitivityParameter != null)
     .Each(sensitivityAnalysis.AddSensitivityParameter);
 }