Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresInputContext.cs =================================================================== diff -u -r46ef6c094cc1589938bc88bee6f5bdac70233462 -r7823eab06c968c167d9d5b24a30acaa344478dc0 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresInputContext.cs (.../HeightStructuresInputContext.cs) (revision 46ef6c094cc1589938bc88bee6f5bdac70233462) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresInputContext.cs (.../HeightStructuresInputContext.cs) (revision 7823eab06c968c167d9d5b24a30acaa344478dc0) @@ -35,22 +35,15 @@ /// /// Creates a new instance of . /// + /// The calculation input wrapped by the context object. /// The height structures calculation containing the . /// The failure mechanism which the context belongs to. /// The assessment section which the context belongs to. /// Thrown when any input argument is null. - public HeightStructuresInputContext(HeightStructuresCalculation calculation, + public HeightStructuresInputContext(HeightStructuresInput wrappedData, + HeightStructuresCalculation calculation, HeightStructuresFailureMechanism failureMechanism, IAssessmentSection assessmentSection) - : base(ValidateCalculation(calculation).InputParameters, calculation, failureMechanism, assessmentSection) {} - - private static HeightStructuresCalculation ValidateCalculation(HeightStructuresCalculation calculation) - { - if (calculation == null) - { - throw new ArgumentNullException("calculation"); - } - return calculation; - } + : base(wrappedData, calculation, failureMechanism, assessmentSection) {} } } \ No newline at end of file