Index: Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs =================================================================== diff -u -r02670d8c9fceeaea5f829937a2eb269f3488c6b1 -re69acb9595f7bf1d202ddd1fb51934b66768b75d --- Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision 02670d8c9fceeaea5f829937a2eb269f3488c6b1) +++ Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision e69acb9595f7bf1d202ddd1fb51934b66768b75d) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -45,6 +46,13 @@ private IWaveHeightCalculator calculator; private bool canceled; + /// + /// Performs validation over the values on the given . + /// Error and status information is logged during the execution of the operation. + /// + /// The file path of the hydraulic boundary database file which to validate. + /// The object which is used to build log messages. + /// Truec> if there were no validation errors; Falsec> otherwise. public bool Validate(string name, string hydraulicBoundaryDatabaseFilePath, ICalculationMessageProvider messageProvider) { string calculationName = messageProvider.GetCalculationName(name); @@ -61,6 +69,14 @@ return !validationProblem.Any(); } + /// + /// Performs a calculation for wave height. + /// + /// The hydraulic boundary location used in the calculation. + /// The path which points to the hydraulic boundary database file. + /// The id of the assessment section. + /// The norm of the assessment section. + /// The object which is used to build log messages. public void Calculate(HydraulicBoundaryLocation hydraulicBoundaryLocation, string hydraulicBoundaryDatabaseFilePath, string ringId, double norm, ICalculationMessageProvider messageProvider) { string hlcdDirectory = Path.GetDirectoryName(hydraulicBoundaryDatabaseFilePath);