Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs =================================================================== diff -u -r69eb8c7057601ce45297368b9281ea1e60980f28 -r242268fc2adc055cc3ac4f28b14b4db26251b30e --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision 69eb8c7057601ce45297368b9281ea1e60980f28) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision 242268fc2adc055cc3ac4f28b14b4db26251b30e) @@ -27,6 +27,7 @@ using Core.Common.Utils.Attributes; using Ringtoets.Common.Data.DikeProfiles; using Ringtoets.Common.Data.Structures; +using Ringtoets.Common.Forms.ChangeHandlers; using Ringtoets.Common.Forms.PropertyClasses; using Ringtoets.Common.Utils; using Ringtoets.HeightStructures.Data; @@ -65,26 +66,27 @@ /// Creates a new instance of the class. /// /// The instance to show the properties of. - /// Thrown when is null. - public HeightStructuresInputContextProperties(HeightStructuresInputContext data) + /// The handler responsible for handling effects of a property change. + /// Thrown when any parameter is null. + public HeightStructuresInputContextProperties(HeightStructuresInputContext data, ICalculationInputPropertyChangeHandler propertyChangeHandler) : base(data, new ConstructionProperties - { - StructurePropertyIndex = structurePropertyIndex, - StructureLocationPropertyIndex = structureLocationPropertyIndex, - StructureNormalOrientationPropertyIndex = structureNormalOrientationPropertyIndex, - FlowWidthAtBottomProtectionPropertyIndex = flowWidthAtBottomProtectionPropertyIndex, - WidthFlowAperturesPropertyIndex = widthFlowAperturesPropertyIndex, - StorageStructureAreaPropertyIndex = storageStructureAreaPropertyIndex, - AllowedLevelIncreaseStoragePropertyIndex = allowedLevelIncreaseStoragePropertyIndex, - CriticalOvertoppingDischargePropertyIndex = criticalOvertoppingDischargePropertyIndex, - FailureProbabilityStructureWithErosionPropertyIndex = failureProbabilityStructureWithErosionPropertyIndex, - ForeshoreProfilePropertyIndex = foreshoreProfilePropertyIndex, - UseBreakWaterPropertyIndex = useBreakWaterPropertyIndex, - UseForeshorePropertyIndex = useForeshorePropertyIndex, - ModelFactorSuperCriticalFlowPropertyIndex = modelFactorSuperCriticalFlowPropertyIndex, - HydraulicBoundaryLocationPropertyIndex = hydraulicBoundaryLocationPropertyIndex, - StormDurationPropertyIndex = stormDurationPropertyIndex - }) {} + { + StructurePropertyIndex = structurePropertyIndex, + StructureLocationPropertyIndex = structureLocationPropertyIndex, + StructureNormalOrientationPropertyIndex = structureNormalOrientationPropertyIndex, + FlowWidthAtBottomProtectionPropertyIndex = flowWidthAtBottomProtectionPropertyIndex, + WidthFlowAperturesPropertyIndex = widthFlowAperturesPropertyIndex, + StorageStructureAreaPropertyIndex = storageStructureAreaPropertyIndex, + AllowedLevelIncreaseStoragePropertyIndex = allowedLevelIncreaseStoragePropertyIndex, + CriticalOvertoppingDischargePropertyIndex = criticalOvertoppingDischargePropertyIndex, + FailureProbabilityStructureWithErosionPropertyIndex = failureProbabilityStructureWithErosionPropertyIndex, + ForeshoreProfilePropertyIndex = foreshoreProfilePropertyIndex, + UseBreakWaterPropertyIndex = useBreakWaterPropertyIndex, + UseForeshorePropertyIndex = useForeshorePropertyIndex, + ModelFactorSuperCriticalFlowPropertyIndex = modelFactorSuperCriticalFlowPropertyIndex, + HydraulicBoundaryLocationPropertyIndex = hydraulicBoundaryLocationPropertyIndex, + StormDurationPropertyIndex = stormDurationPropertyIndex + }, propertyChangeHandler) {} #region Schematization