Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PropertyClasses/ClosingStructuresInputContextProperties.cs =================================================================== diff -u -rf861839e975251253e2ffd7bc3f0a1839b85534e -rd5a0bce3d53deb3aef237c365018096e9bc83bb1 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PropertyClasses/ClosingStructuresInputContextProperties.cs (.../ClosingStructuresInputContextProperties.cs) (revision f861839e975251253e2ffd7bc3f0a1839b85534e) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PropertyClasses/ClosingStructuresInputContextProperties.cs (.../ClosingStructuresInputContextProperties.cs) (revision d5a0bce3d53deb3aef237c365018096e9bc83bb1) @@ -33,6 +33,7 @@ using Ringtoets.ClosingStructures.Forms.Properties; using Ringtoets.Common.Data.DikeProfiles; using Ringtoets.Common.Data.Structures; +using Ringtoets.Common.Forms.ChangeHandlers; using Ringtoets.Common.Forms.Helpers; using Ringtoets.Common.Forms.PropertyClasses; using Ringtoets.Common.Utils; @@ -225,7 +226,7 @@ } set { - ChangePropertyAndNotify(() => data.WrappedData.FactorStormDurationOpenStructure = value); + PropertyChangeHelper.ChangePropertyAndNotify(() => data.WrappedData.FactorStormDurationOpenStructure = value, PropertyChangeHandler); } } @@ -268,7 +269,7 @@ } set { - ChangePropertyAndNotify(() => data.WrappedData.InflowModelType = value); + PropertyChangeHelper.ChangePropertyAndNotify(() => data.WrappedData.InflowModelType = value, PropertyChangeHandler); } } @@ -318,11 +319,10 @@ } set { - ChangePropertyAndNotify( - () => SetProbabilityValue( - value, - data.WrappedData, - (wrappedData, parsedValue) => wrappedData.FailureProbabilityOpenStructure = parsedValue)); + PropertyChangeHelper.ChangePropertyAndNotify(() => SetProbabilityValue( + value, + data.WrappedData, + (wrappedData, parsedValue) => wrappedData.FailureProbabilityOpenStructure = parsedValue), PropertyChangeHandler); } } @@ -338,11 +338,10 @@ } set { - ChangePropertyAndNotify( - () => SetProbabilityValue( - value, - data.WrappedData, - (wrappedData, parsedValue) => wrappedData.FailureProbabilityReparation = parsedValue)); + PropertyChangeHelper.ChangePropertyAndNotify(() => SetProbabilityValue( + value, + data.WrappedData, + (wrappedData, parsedValue) => wrappedData.FailureProbabilityReparation = parsedValue), PropertyChangeHandler); } } @@ -358,7 +357,7 @@ } set { - ChangePropertyAndNotify(() => data.WrappedData.IdenticalApertures = value); + PropertyChangeHelper.ChangePropertyAndNotify(() => data.WrappedData.IdenticalApertures = value, PropertyChangeHandler); } } @@ -391,11 +390,10 @@ } set { - ChangePropertyAndNotify( - () => SetProbabilityValue( - value, - data.WrappedData, - (wrappedData, parsedValue) => wrappedData.ProbabilityOrFrequencyOpenStructureBeforeFlooding = parsedValue)); + PropertyChangeHelper.ChangePropertyAndNotify(() => SetProbabilityValue( + value, + data.WrappedData, + (wrappedData, parsedValue) => wrappedData.ProbabilityOrFrequencyOpenStructureBeforeFlooding = parsedValue), PropertyChangeHandler); } }