Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs
===================================================================
diff -u -rdbfba4c1829b1d42f4d99a88f7d8699bc3beeb2a -r0f678f97e76d90e4a7e7f0611ff22ab196b46381
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs (.../StructuresInputBaseProperties.cs) (revision dbfba4c1829b1d42f4d99a88f7d8699bc3beeb2a)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs (.../StructuresInputBaseProperties.cs) (revision 0f678f97e76d90e4a7e7f0611ff22ab196b46381)
@@ -66,15 +66,23 @@
///
/// Creates a new instance of the class.
///
+ /// The instance to show the properties of.
/// The property values required to create an instance of .
- /// Thrown when is null.
- protected StructuresInputBaseProperties(ConstructionProperties constructionProperties)
+ /// Thrown when any parameter is null.
+ protected StructuresInputBaseProperties(
+ InputContextBase data,
+ ConstructionProperties constructionProperties)
{
+ if (data == null)
+ {
+ throw new ArgumentNullException("data");
+ }
if (constructionProperties == null)
{
throw new ArgumentNullException("constructionProperties");
}
+ Data = data;
propertyIndexLookup = new Dictionary
{
{