Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/Handlers/AssessmentSectionMergeHandlerStub.cs =================================================================== diff -u -r8236be8aa07b5ba510fe9a4a3f2b32c525712061 -re965d58ff0ad849e95e133bb3a605961b9128dda --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/Handlers/AssessmentSectionMergeHandlerStub.cs (.../AssessmentSectionMergeHandlerStub.cs) (revision 8236be8aa07b5ba510fe9a4a3f2b32c525712061) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/Handlers/AssessmentSectionMergeHandlerStub.cs (.../AssessmentSectionMergeHandlerStub.cs) (revision e965d58ff0ad849e95e133bb3a605961b9128dda) @@ -28,24 +28,24 @@ namespace Ringtoets.Integration.Plugin.Handlers { /// - /// Stub for handling the merge of the . + /// Stub for handling the merge of data. /// public class AssessmentSectionMergeHandlerStub : IAssessmentSectionMergeHandler { - public void PerformMerge(AssessmentSection originalAssessmentSection, AssessmentSection assessmentSectionToMerge, - IEnumerable failureMechanismToMerge) + public void PerformMerge(AssessmentSection targetAssessmentSection, AssessmentSection sourceAssessmentSection, + IEnumerable failureMechanismsToMerge) { - for (var i = 0; i < originalAssessmentSection.HydraulicBoundaryDatabase.Locations.Count; i++) + for (var i = 0; i < targetAssessmentSection.HydraulicBoundaryDatabase.Locations.Count; i++) { - ReplaceOutput(originalAssessmentSection.WaterLevelCalculationsForFactorizedSignalingNorm.ElementAt(i), assessmentSectionToMerge.WaterLevelCalculationsForFactorizedSignalingNorm.ElementAt(i)); - ReplaceOutput(originalAssessmentSection.WaterLevelCalculationsForSignalingNorm.ElementAt(i), assessmentSectionToMerge.WaterLevelCalculationsForSignalingNorm.ElementAt(i)); - ReplaceOutput(originalAssessmentSection.WaterLevelCalculationsForLowerLimitNorm.ElementAt(i), assessmentSectionToMerge.WaterLevelCalculationsForLowerLimitNorm.ElementAt(i)); - ReplaceOutput(originalAssessmentSection.WaterLevelCalculationsForFactorizedLowerLimitNorm.ElementAt(i), assessmentSectionToMerge.WaterLevelCalculationsForFactorizedLowerLimitNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaterLevelCalculationsForFactorizedSignalingNorm.ElementAt(i), sourceAssessmentSection.WaterLevelCalculationsForFactorizedSignalingNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaterLevelCalculationsForSignalingNorm.ElementAt(i), sourceAssessmentSection.WaterLevelCalculationsForSignalingNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaterLevelCalculationsForLowerLimitNorm.ElementAt(i), sourceAssessmentSection.WaterLevelCalculationsForLowerLimitNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaterLevelCalculationsForFactorizedLowerLimitNorm.ElementAt(i), sourceAssessmentSection.WaterLevelCalculationsForFactorizedLowerLimitNorm.ElementAt(i)); - ReplaceOutput(originalAssessmentSection.WaveHeightCalculationsForFactorizedSignalingNorm.ElementAt(i), assessmentSectionToMerge.WaveHeightCalculationsForFactorizedSignalingNorm.ElementAt(i)); - ReplaceOutput(originalAssessmentSection.WaveHeightCalculationsForSignalingNorm.ElementAt(i), assessmentSectionToMerge.WaveHeightCalculationsForSignalingNorm.ElementAt(i)); - ReplaceOutput(originalAssessmentSection.WaveHeightCalculationsForLowerLimitNorm.ElementAt(i), assessmentSectionToMerge.WaveHeightCalculationsForLowerLimitNorm.ElementAt(i)); - ReplaceOutput(originalAssessmentSection.WaveHeightCalculationsForFactorizedLowerLimitNorm.ElementAt(i), assessmentSectionToMerge.WaveHeightCalculationsForFactorizedLowerLimitNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaveHeightCalculationsForFactorizedSignalingNorm.ElementAt(i), sourceAssessmentSection.WaveHeightCalculationsForFactorizedSignalingNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaveHeightCalculationsForSignalingNorm.ElementAt(i), sourceAssessmentSection.WaveHeightCalculationsForSignalingNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaveHeightCalculationsForLowerLimitNorm.ElementAt(i), sourceAssessmentSection.WaveHeightCalculationsForLowerLimitNorm.ElementAt(i)); + ReplaceOutput(targetAssessmentSection.WaveHeightCalculationsForFactorizedLowerLimitNorm.ElementAt(i), sourceAssessmentSection.WaveHeightCalculationsForFactorizedLowerLimitNorm.ElementAt(i)); } }