Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresCalculation.cs
===================================================================
diff -u -r8047e7fd59525ed424105aaefc4ee88b9ae8def6 -r7ddd944b70d252ae493bba48ea9b31c01634082d
--- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresCalculation.cs (.../HeightStructuresCalculation.cs) (revision 8047e7fd59525ed424105aaefc4ee88b9ae8def6)
+++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresCalculation.cs (.../HeightStructuresCalculation.cs) (revision 7ddd944b70d252ae493bba48ea9b31c01634082d)
@@ -22,6 +22,7 @@
using System;
using Core.Common.Base;
using Ringtoets.Common.Data.Calculation;
+using Ringtoets.Common.Data.Probability;
using Ringtoets.HeightStructures.Data.Properties;
namespace Ringtoets.HeightStructures.Data
@@ -34,11 +35,21 @@
///
/// Creates a new instance of .
///
- /// General grass cover erosion inwards calculation input parameters that apply to each calculation.
- /// When is null.
- public HeightStructuresCalculation(GeneralHeightStructuresInput generalInputParameters)
+ /// General height structures calculation input parameters that apply to each calculation.
+ /// General norm probabilistic parameters that apply to each
+ /// calculation.
+ /// Thrown when
+ /// - is null.
+ /// - is null.
+ ///
+ public HeightStructuresCalculation(GeneralHeightStructuresInput generalInputParameters, NormProbabilityInput normProbabilityInput)
{
+ if (normProbabilityInput == null)
+ {
+ throw new ArgumentNullException("normProbabilityInput");
+ }
InputParameters = new HeightStructuresInput(generalInputParameters);
+ NormProbabilityInput = normProbabilityInput;
Name = Resources.HeightStructuresCalculation_DefaultName;
}
@@ -48,6 +59,11 @@
public HeightStructuresInput InputParameters { get; private set; }
///
+ /// Gets the length-effect parameters.
+ ///
+ public NormProbabilityInput NormProbabilityInput { get; private set; }
+
+ ///
/// Gets or sets , which contains the results of a height structures calculation.
///
public ProbabilisticOutput Output { get; set; }