Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/SubMechanismIllustrationPointProperties.cs
===================================================================
diff -u -r9c8a4be86a9b3659738256e8f1c0542339d7b16a -ra49798da6ac2176d2e8b28ec6fec8a2494d8ee91
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/SubMechanismIllustrationPointProperties.cs (.../SubMechanismIllustrationPointProperties.cs) (revision 9c8a4be86a9b3659738256e8f1c0542339d7b16a)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/SubMechanismIllustrationPointProperties.cs (.../SubMechanismIllustrationPointProperties.cs) (revision a49798da6ac2176d2e8b28ec6fec8a2494d8ee91)
@@ -20,7 +20,6 @@
// All rights reserved.
using System;
-using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Core.Common.Gui.Attributes;
@@ -42,19 +41,17 @@
///
/// Creates a new instance of .
///
- /// The data to use for the properties.
- /// The child nodes that belongs to the .
+ /// The sub mechanism illustration point to use for the properties.
/// String containing the wind direction for this illustration point.
/// String containing the name of the closing situation. If empty
/// the property will not be visible.
/// Thrown when any input parameter is null.
- public SubMechanismIllustrationPointProperties(IllustrationPointBase illustrationPoint,
- IEnumerable childNodes,
+ public SubMechanismIllustrationPointProperties(SubMechanismIllustrationPoint illustrationPoint,
string windDirection,
string closingSituation)
- : base(illustrationPoint, childNodes, windDirection, closingSituation)
+ : base(illustrationPoint, windDirection, closingSituation)
{
- subMechanismIllustrationPoint = (SubMechanismIllustrationPoint) data;
+ subMechanismIllustrationPoint = illustrationPoint;
}
[PropertyOrder(4)]