Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LogNormalDistributionProperties.cs
===================================================================
diff -u -r9ee17a39e4ba653cfc2e1a576f0ac53dcdf8a7dc -r9050ad5f3a80e630b2fcc092942a40d6343286a0
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LogNormalDistributionProperties.cs (.../LogNormalDistributionProperties.cs) (revision 9ee17a39e4ba653cfc2e1a576f0ac53dcdf8a7dc)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LogNormalDistributionProperties.cs (.../LogNormalDistributionProperties.cs) (revision 9050ad5f3a80e630b2fcc092942a40d6343286a0)
@@ -19,6 +19,7 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System;
using Core.Common.Base;
using Core.Common.Base.Data;
using Core.Common.Gui.PropertyBag;
@@ -32,24 +33,24 @@
/// An implementation for
/// properties.
///
- public class LogNormalDistributionProperties : DistributionProperties
+ public class LogNormalDistributionProperties : DistributionPropertiesBase
{
///
/// Creates a new read-only instance of .
///
- public LogNormalDistributionProperties() : this(null, DistributionPropertiesReadOnly.All) {}
+ public LogNormalDistributionProperties() : this(DistributionPropertiesReadOnly.All, null) {}
///
/// Creates a new instance of .
///
- /// Object to notify upon change.
- /// Sets if and/or
- /// should be marked read-only.
- public LogNormalDistributionProperties(IObservable observerable, DistributionPropertiesReadOnly propertiesReadOnly)
- : base(propertiesReadOnly)
- {
- Observerable = observerable;
- }
+ /// Indicates which properties, if any, should be
+ /// marked as read-only.
+ /// The object to be notified of changes to properties.
+ /// Can be null if all properties are marked as read-only by .
+ /// Thrown when
+ /// is null and any number of properties in this class is editable.
+ public LogNormalDistributionProperties(DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable)
+ : base(propertiesReadOnly, observable) {}
public override string DistributionType
{