Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/GeneralClosingStructuresInput.cs =================================================================== diff -u -re570ba372fafe1802a4caae2ef9410b64457198b -ra964168b91bc9c287adacc368480575f0bcf8cd9 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/GeneralClosingStructuresInput.cs (.../GeneralClosingStructuresInput.cs) (revision e570ba372fafe1802a4caae2ef9410b64457198b) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/GeneralClosingStructuresInput.cs (.../GeneralClosingStructuresInput.cs) (revision a964168b91bc9c287adacc368480575f0bcf8cd9) @@ -21,6 +21,7 @@ using System; using Core.Common.Base.Data; +using Ringtoets.ClosingStructures.Data.Properties; using Ringtoets.Common.Data.Probabilistics; namespace Ringtoets.ClosingStructures.Data @@ -30,6 +31,8 @@ /// public class GeneralClosingStructuresInput { + private int n2A; + /// /// Initializes a new instance of the class. /// @@ -81,7 +84,21 @@ /// /// Gets or sets the 'N2A' parameter used to factor in the 'length effect'. /// - public int N2A { get; set; } + public int N2A + { + get + { + return n2A; + } + set + { + if (value < 0 || value > 40) + { + throw new ArgumentOutOfRangeException("value", Resources.N2A_Value_should_be_in_interval_0_40); + } + n2A = value; + } + } /// /// Gets the 'N' parameter used to factor in the 'length effect'.