Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismProperties.cs =================================================================== diff -u -r16d53fca2e51dcd5ede08bbebcda854c783ab025 -rae723c147c281ccbb2dd0b06c6f863c2d8d0403d --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismProperties.cs (.../HeightStructuresFailureMechanismProperties.cs) (revision 16d53fca2e51dcd5ede08bbebcda854c783ab025) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresFailureMechanismProperties.cs (.../HeightStructuresFailureMechanismProperties.cs) (revision ae723c147c281ccbb2dd0b06c6f863c2d8d0403d) @@ -20,9 +20,7 @@ // All rights reserved. using System; -using System.Collections.Generic; using System.ComponentModel; -using Core.Common.Base; using Core.Common.Base.Data; using Core.Common.Gui.Attributes; using Core.Common.Gui.PropertyBag; @@ -46,30 +44,20 @@ private const int modelFactorOvertoppingFlowPropertyIndex = 6; private const int modelFactorStorageVolumePropertyIndex = 7; - private readonly IFailureMechanismPropertyChangeHandler propertyChangeHandler; - /// /// Creates a new instance of . /// /// The instance to show the properties of. - /// Handler responsible for handling effects of a property change. - /// Thrown when any input parameter is null. - public HeightStructuresFailureMechanismProperties( - HeightStructuresFailureMechanism data, - IFailureMechanismPropertyChangeHandler handler) + /// Thrown when + /// is null. + public HeightStructuresFailureMechanismProperties(HeightStructuresFailureMechanism data) { if (data == null) { throw new ArgumentNullException(nameof(data)); } - if (handler == null) - { - throw new ArgumentNullException(nameof(handler)); - } - Data = data; - propertyChangeHandler = handler; } #region Length effect parameters