Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresCalculationGroupContext.cs =================================================================== diff -u -r20e9bfea15dfe132ee137283a9f24bc4c413ce4a -r8b60c9e846480f3ffeeb263bfea5d3367bf6bee3 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresCalculationGroupContext.cs (.../HeightStructuresCalculationGroupContext.cs) (revision 20e9bfea15dfe132ee137283a9f24bc4c413ce4a) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresCalculationGroupContext.cs (.../HeightStructuresCalculationGroupContext.cs) (revision 8b60c9e846480f3ffeeb263bfea5d3367bf6bee3) @@ -40,13 +40,18 @@ /// Creates a new instance of . /// /// The instance wrapped by this context object. + /// The that owns the wrapped calculation group. /// The failure mechanism which the context belongs to. /// The assessment section which the context belongs to. - /// Thrown when any input argument is null. + /// Thrown when any input argument is null, except for . public HeightStructuresCalculationGroupContext(CalculationGroup calculationsGroup, + CalculationGroup parent, HeightStructuresFailureMechanism failureMechanism, IAssessmentSection assessmentSection) - : base(calculationsGroup, failureMechanism, assessmentSection) {} + : base(calculationsGroup, failureMechanism, assessmentSection) + { + Parent = parent; + } /// /// Gets the available foreshore profiles. @@ -69,5 +74,7 @@ return FailureMechanism.HeightStructures; } } + + public CalculationGroup Parent { get; } } } \ No newline at end of file