Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresContext.cs =================================================================== diff -u -rc7cb9812ba255ba88d28b65f1a146dcf7454f63d -r2545a8486f7c2820781ec3871125bdd8121622fd --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresContext.cs (.../HeightStructuresContext.cs) (revision c7cb9812ba255ba88d28b65f1a146dcf7454f63d) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PresentationObjects/HeightStructuresContext.cs (.../HeightStructuresContext.cs) (revision 2545a8486f7c2820781ec3871125bdd8121622fd) @@ -37,24 +37,36 @@ /// /// The wrapped /// containing . - /// The assessment section which the height structures + /// The failure mechanism to which the height structures /// belong to. + /// The assessment section to which the height structures + /// belong to. /// Thrown when any of the input arguments /// are null. - public HeightStructuresContext(ObservableList heightStructures, IAssessmentSection assessmentSection) + public HeightStructuresContext(ObservableList heightStructures, HeightStructuresFailureMechanism failureMechanism, IAssessmentSection assessmentSection) : base(heightStructures) { if (assessmentSection == null) { throw new ArgumentNullException("assessmentSection"); } + if (failureMechanism == null) + { + throw new ArgumentNullException("failureMechanism"); + } AssessmentSection = assessmentSection; + ParentFailureMechanism = failureMechanism; } /// /// Gets the assessment section of this instance. /// public IAssessmentSection AssessmentSection { get; private set; } + + /// + /// Gets the failure mechanism of this instance. + /// + public HeightStructuresFailureMechanism ParentFailureMechanism { get; private set; } } } \ No newline at end of file