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
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextProperties.cs
===================================================================
diff -u -rde7a3167442ca69c2866b25ccc5357343928d89f -r2215bb99034f0bbc06a62ca5be160aab0129419c
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextProperties.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContextProperties.cs) (revision de7a3167442ca69c2866b25ccc5357343928d89f)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextProperties.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContextProperties.cs) (revision 2215bb99034f0bbc06a62ca5be160aab0129419c)
@@ -41,12 +41,12 @@
/// The for which
/// the properties are shown.
/// for obtaining the normative assessment level.
- /// The handler responsible for handling effects of a property change.
+ /// The handler responsible for handling effects of a property change.
/// Thrown when any parameter is null.
public GrassCoverErosionOutwardsWaveConditionsInputContextProperties(GrassCoverErosionOutwardsWaveConditionsInputContext context,
Func getNormativeAssessmentLevelFunc,
- IObservablePropertyChangeHandler handler)
- : base(context, getNormativeAssessmentLevelFunc, handler) {}
+ IObservablePropertyChangeHandler propertyChangeHandler)
+ : base(context, getNormativeAssessmentLevelFunc, propertyChangeHandler) {}
[ResourcesDisplayName(typeof(Resources), nameof(Resources.GrassCoverErosionOutwardsHydraulicBoundaryLocation_DesignWaterLevel_DisplayName))]
[ResourcesDescription(typeof(Resources), nameof(Resources.GrassCoverErosionOutwardsWaveConditionsInputContextProperties_DesignWaterLevel_Description))]
Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverWaveConditionsInputContextProperties.cs
===================================================================
diff -u -rde7a3167442ca69c2866b25ccc5357343928d89f -r2215bb99034f0bbc06a62ca5be160aab0129419c
--- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverWaveConditionsInputContextProperties.cs (.../StabilityStoneCoverWaveConditionsInputContextProperties.cs) (revision de7a3167442ca69c2866b25ccc5357343928d89f)
+++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverWaveConditionsInputContextProperties.cs (.../StabilityStoneCoverWaveConditionsInputContextProperties.cs) (revision 2215bb99034f0bbc06a62ca5be160aab0129419c)
@@ -40,12 +40,12 @@
/// The for which
/// the properties are shown.
/// for obtaining the normative assessment level.
- /// The handler responsible for handling effects of a property change.
+ /// The handler responsible for handling effects of a property change.
/// Thrown when any parameter is null.
public StabilityStoneCoverWaveConditionsInputContextProperties(StabilityStoneCoverWaveConditionsInputContext context,
Func getNormativeAssessmentLevelFunc,
- IObservablePropertyChangeHandler handler)
- : base(context, getNormativeAssessmentLevelFunc, handler) {}
+ IObservablePropertyChangeHandler propertyChangeHandler)
+ : base(context, getNormativeAssessmentLevelFunc, propertyChangeHandler) {}
public override string RevetmentType
{
Index: Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/PropertyClasses/WaveImpactAsphaltCoverWaveConditionsInputContextProperties.cs
===================================================================
diff -u -rde7a3167442ca69c2866b25ccc5357343928d89f -r2215bb99034f0bbc06a62ca5be160aab0129419c
--- Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/PropertyClasses/WaveImpactAsphaltCoverWaveConditionsInputContextProperties.cs (.../WaveImpactAsphaltCoverWaveConditionsInputContextProperties.cs) (revision de7a3167442ca69c2866b25ccc5357343928d89f)
+++ Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/PropertyClasses/WaveImpactAsphaltCoverWaveConditionsInputContextProperties.cs (.../WaveImpactAsphaltCoverWaveConditionsInputContextProperties.cs) (revision 2215bb99034f0bbc06a62ca5be160aab0129419c)
@@ -40,12 +40,12 @@
/// The for which
/// the properties are shown.
/// for obtaining the normative assessment level.
- /// The handler responsible for handling effects of a property change.
+ /// The handler responsible for handling effects of a property change.
/// Thrown when any parameter is null.
public WaveImpactAsphaltCoverWaveConditionsInputContextProperties(WaveImpactAsphaltCoverWaveConditionsInputContext context,
Func getNormativeAssessmentLevelFunc,
- IObservablePropertyChangeHandler handler)
- : base(context, getNormativeAssessmentLevelFunc, handler) {}
+ IObservablePropertyChangeHandler propertyChangeHandler)
+ : base(context, getNormativeAssessmentLevelFunc, propertyChangeHandler) {}
public override string RevetmentType
{