Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Settings/FailureMechanismSettings.cs
===================================================================
diff -u -rd40e54ca96fe9506016dbbf13b5664eaf7dce533 -r3ccf0a2ef0ecea8f42ca92344bb315199f3644a0
--- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Settings/FailureMechanismSettings.cs (.../FailureMechanismSettings.cs) (revision d40e54ca96fe9506016dbbf13b5664eaf7dce533)
+++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Settings/FailureMechanismSettings.cs (.../FailureMechanismSettings.cs) (revision 3ccf0a2ef0ecea8f42ca92344bb315199f3644a0)
@@ -5,14 +5,40 @@
///
public class FailureMechanismSettings
{
+ private readonly double valueMin;
+ private readonly double valueMax;
+
///
+ /// Creates a new instance of the class.
+ ///
+ /// The minimum value to use while iterating to a target probability.
+ /// The maximum value to use while iterating to a target probability.
+ public FailureMechanismSettings(double valueMin, double valueMax)
+ {
+ this.valueMin = valueMin;
+ this.valueMax = valueMax;
+ }
+
+ ///
/// Gets or sets the minimum value to use while iterating to a target probability.
///
- public double ValueMin { get; set; }
+ public double ValueMin
+ {
+ get
+ {
+ return valueMin;
+ }
+ }
///
/// Gets or sets the maximum value to use while iterating to a target probability.
///
- public double ValueMax { get; set; }
+ public double ValueMax
+ {
+ get
+ {
+ return valueMax;
+ }
+ }
}
}
\ No newline at end of file