Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/FailureMechanismSectionProperties.cs
===================================================================
diff -u -r7aff630a7c9bb21707781ca2bd0f977d4715891d -rb19983374f4a64979bbb5167bcab288a921aa5e5
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/FailureMechanismSectionProperties.cs (.../FailureMechanismSectionProperties.cs) (revision 7aff630a7c9bb21707781ca2bd0f977d4715891d)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/FailureMechanismSectionProperties.cs (.../FailureMechanismSectionProperties.cs) (revision b19983374f4a64979bbb5167bcab288a921aa5e5)
@@ -19,6 +19,7 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System;
using Core.Common.Gui.PropertyBag;
using Ringtoets.Common.Data.FailureMechanism;
@@ -27,5 +28,22 @@
///
/// ViewModel of for properties panel.
///
- public class FailureMechanismSectionProperties : ObjectProperties {}
+ public class FailureMechanismSectionProperties : ObjectProperties
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The section to show the properties for.
+ /// Thrown when
+ /// is null.
+ public FailureMechanismSectionProperties(FailureMechanismSection section)
+ {
+ if (section == null)
+ {
+ throw new ArgumentNullException(nameof(section));
+ }
+
+ Data = section;
+ }
+ }
}
\ No newline at end of file