Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs =================================================================== diff -u -rb70abd70f1cd326d1a753c5879a065149ac2ae84 -r6c641362a210f843ebb546b651df0a9b878fd7cf --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision b70abd70f1cd326d1a753c5879a065149ac2ae84) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision 6c641362a210f843ebb546b651df0a9b878fd7cf) @@ -218,6 +218,11 @@ UpdateForeshoreProperties(); } + private static bool ValidProbabilityValue(double probability) + { + return !double.IsNaN(probability) && probability >= 0 && probability <= 1; + } + #region Structure / calculation properties /// @@ -237,11 +242,6 @@ #endregion - private bool ValidProbabilityValue(double probability) - { - return !double.IsNaN(probability) && probability >= 0 && probability <= 1; - } - #region Hydraulic data and loads /// @@ -392,7 +392,7 @@ #region Model Inputs and critical values /// - /// Gets or sets the model factor for super critical flow. + /// Gets or sets the model factor for super critical flow. /// /// Only sets the mean. public NormalDistribution ModelFactorSuperCriticalFlow @@ -610,6 +610,7 @@ /// Gets or sets the failure probability of repairing a closure. /// [1/year] /// + /// Thrown when the probability is not in interval [0,1]. public double FailureProbabilityRepairClosure { get @@ -678,7 +679,7 @@ } /// - /// Gets or sets the levelling count. + /// Gets or sets the leveling count. /// [1/year] /// public int LevelingCount { get; set; } @@ -687,6 +688,7 @@ /// Gets or sets the probability of a secondary collision on the structure. /// [1/levelling] /// + /// Thrown when the probability is not in interval [0,1]. public double ProbabilityCollisionSecondaryStructure { get @@ -775,6 +777,7 @@ /// Gets or sets the failure probability of a structure with erosion. /// [1/year] /// + /// Thrown when the probability is not in interval [0,1]. public double FailureProbabilityStructureWithErosion { get