Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsWaveConditionsInputContext.cs
===================================================================
diff -u -r43701b21ae485678c471bcf76ca9c374fd16b9f9 -r2215bb99034f0bbc06a62ca5be160aab0129419c
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsWaveConditionsInputContext.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContext.cs) (revision 43701b21ae485678c471bcf76ca9c374fd16b9f9)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsWaveConditionsInputContext.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContext.cs) (revision 2215bb99034f0bbc06a62ca5be160aab0129419c)
@@ -21,6 +21,7 @@
using System;
using System.Collections.Generic;
+using Ringtoets.Common.Data.AssessmentSection;
using Ringtoets.Common.Data.Calculation;
using Ringtoets.Common.Data.DikeProfiles;
using Ringtoets.Common.Data.Hydraulics;
@@ -44,17 +45,26 @@
/// The calculation having as input.
/// The
/// the context belongs to.
+ /// The the context belongs to.
/// Thrown when any parameter is null.
public GrassCoverErosionOutwardsWaveConditionsInputContext(WaveConditionsInput wrappedData,
ICalculation calculation,
- GrassCoverErosionOutwardsFailureMechanism failureMechanism)
+ GrassCoverErosionOutwardsFailureMechanism failureMechanism,
+ IAssessmentSection assessmentSection)
: base(wrappedData, calculation)
{
if (failureMechanism == null)
{
throw new ArgumentNullException(nameof(failureMechanism));
}
+
+ if (assessmentSection == null)
+ {
+ throw new ArgumentNullException(nameof(assessmentSection));
+ }
+
this.failureMechanism = failureMechanism;
+ AssessmentSection = assessmentSection;
}
public override IEnumerable HydraulicBoundaryLocations
@@ -72,5 +82,7 @@
return failureMechanism.ForeshoreProfiles;
}
}
+
+ public IAssessmentSection AssessmentSection { get; }
}
}
\ No newline at end of file