Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresInputContext.cs =================================================================== diff -u -rdd72cf407b7d0e9284d101bb2e2854e569b1a29a -r6b9fda141298524c0910937dd090d82be420c52b --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresInputContext.cs (.../HeightStructuresInputContext.cs) (revision dd72cf407b7d0e9284d101bb2e2854e569b1a29a) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresInputContext.cs (.../HeightStructuresInputContext.cs) (revision 6b9fda141298524c0910937dd090d82be420c52b) @@ -22,7 +22,6 @@ using System; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.HeightStructures.Data; -using Ringtoets.HeightStructures.Forms.Properties; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; namespace Ringtoets.HeightStructures.Forms.PresentationObjects @@ -37,30 +36,12 @@ /// Creates a new instance of . /// /// The height structures input instance wrapped by this context object. - /// The calculation item which the belongs to. /// The failure mechanism which the context belongs to. /// The assessment section which the context belongs to. /// When any input argument is null. public HeightStructuresInputContext(HeightStructuresInput input, - HeightStructuresCalculation calculation, HeightStructuresFailureMechanism failureMechanism, IAssessmentSection assessmentSection) - : base(input, failureMechanism, assessmentSection) - { - if (calculation == null) - { - var message = string.Format(RingtoetsCommonFormsResources.AssertInputsAreNotNull_DataDescription_0_cannot_be_null, - Resources.HeightStructuresInputContext_DataDescription_HeightStructuresInputCalculationItem); - - throw new ArgumentNullException("calculation", message); - } - - Calculation = calculation; - } - - /// - /// Gets the calculation item which the context belongs to. - /// - public HeightStructuresCalculation Calculation { get; private set; } + : base(input, failureMechanism, assessmentSection) {} } } \ No newline at end of file