Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Service/StabilityStoneCoverWaveConditionsCalculationService.cs
===================================================================
diff -u -r80de235bcb060dec1747e166ac28c1c8db92a20a -rc96deb3a33a6779c640b20b1c866bb93530fad02
--- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Service/StabilityStoneCoverWaveConditionsCalculationService.cs (.../StabilityStoneCoverWaveConditionsCalculationService.cs) (revision 80de235bcb060dec1747e166ac28c1c8db92a20a)
+++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Service/StabilityStoneCoverWaveConditionsCalculationService.cs (.../StabilityStoneCoverWaveConditionsCalculationService.cs) (revision c96deb3a33a6779c640b20b1c866bb93530fad02)
@@ -48,22 +48,26 @@
/// Performs validation over the input parameters. Error and status information is logged during the execution of the operation.
///
/// The for which to validate the values.
+ /// The normative assessment level to use for determining water levels.
/// The file path of the hydraulic boundary database file which to validate.
/// The preprocessor directory to validate.
/// true if there were no validation errors; false otherwise.
/// Thrown when is null.
- public static bool Validate(StabilityStoneCoverWaveConditionsCalculation calculation, string hydraulicBoundaryDatabaseFilePath, string preprocessorDirectory)
+ public static bool Validate(StabilityStoneCoverWaveConditionsCalculation calculation,
+ RoundedDouble normativeAssessmentLevel,
+ string hydraulicBoundaryDatabaseFilePath,
+ string preprocessorDirectory)
{
if (calculation == null)
{
throw new ArgumentNullException(nameof(calculation));
}
- return ValidateWaveConditionsInput(
- calculation.InputParameters,
- hydraulicBoundaryDatabaseFilePath,
- preprocessorDirectory,
- RingtoetsRevetmentsServicesResources.WaveConditionsCalculationService_ValidateInput_default_DesignWaterLevel_name);
+ return ValidateWaveConditionsInput(calculation.InputParameters,
+ normativeAssessmentLevel,
+ hydraulicBoundaryDatabaseFilePath,
+ preprocessorDirectory,
+ RingtoetsRevetmentsServicesResources.WaveConditionsCalculationService_ValidateInput_default_DesignWaterLevel_name);
}
///
@@ -100,10 +104,12 @@
{
throw new ArgumentNullException(nameof(calculation));
}
+
if (assessmentSection == null)
{
throw new ArgumentNullException(nameof(assessmentSection));
}
+
if (generalWaveConditionsInput == null)
{
throw new ArgumentNullException(nameof(generalWaveConditionsInput));