Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismProperties.cs =================================================================== diff -u -rac96d7c315129af851634ed5a4a6800b59ede718 -r401ea38da560543cd91415c326b9463976b2e80a --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismProperties.cs (.../HeightStructuresFailureMechanismProperties.cs) (revision ac96d7c315129af851634ed5a4a6800b59ede718) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismProperties.cs (.../HeightStructuresFailureMechanismProperties.cs) (revision 401ea38da560543cd91415c326b9463976b2e80a) @@ -62,10 +62,12 @@ { throw new ArgumentNullException(nameof(data)); } + if (handler == null) { throw new ArgumentNullException(nameof(handler)); } + Data = data; propertyChangeHandler = handler; } @@ -77,7 +79,7 @@ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_LengthEffect))] [ResourcesDisplayName(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.FailureMechanism_N_DisplayName))] [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.FailureMechanism_N_Description))] - public int LengthEffect + public RoundedDouble LengthEffect { get { @@ -103,6 +105,7 @@ { return false; } + return true; }