Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsOutputProperties.cs
===================================================================
diff -u -r6300c24a20d2bc8bf9d2e66b727d8fc8e5d2ff54 -r2019968ec46375ee661021e396120c90185fb430
--- Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsOutputProperties.cs (.../WaveConditionsOutputProperties.cs) (revision 6300c24a20d2bc8bf9d2e66b727d8fc8e5d2ff54)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsOutputProperties.cs (.../WaveConditionsOutputProperties.cs) (revision 2019968ec46375ee661021e396120c90185fb430)
@@ -19,6 +19,7 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System;
using System.ComponentModel;
using Core.Common.Base.Data;
using Core.Common.Gui.PropertyBag;
@@ -83,5 +84,10 @@
return data.WaveAngle;
}
}
+
+ public override string ToString()
+ {
+ return string.Empty;
+ }
}
}
\ No newline at end of file
Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverWaveConditionsOutputProperties.cs
===================================================================
diff -u -r37213b379dafd60f815fce7cb7fd70e8b85d0ec5 -r2019968ec46375ee661021e396120c90185fb430
--- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverWaveConditionsOutputProperties.cs (.../StabilityStoneCoverWaveConditionsOutputProperties.cs) (revision 37213b379dafd60f815fce7cb7fd70e8b85d0ec5)
+++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverWaveConditionsOutputProperties.cs (.../StabilityStoneCoverWaveConditionsOutputProperties.cs) (revision 2019968ec46375ee661021e396120c90185fb430)
@@ -34,7 +34,6 @@
///
/// ViewModel of for properties panel.
///
- [TypeConverter(typeof(ExpandableObjectConverter))]
public class StabilityStoneCoverWaveConditionsOutputProperties : ObjectProperties
{
[TypeConverter(typeof(ExpandableArrayConverter))]
Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PropertyClasses/StabilityStoneCoverWaveConditionsOutputPropertiesTest.cs
===================================================================
diff -u -r1d39fe9482efbe216335028d9bbceb8fc4563ab6 -r2019968ec46375ee661021e396120c90185fb430
--- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PropertyClasses/StabilityStoneCoverWaveConditionsOutputPropertiesTest.cs (.../StabilityStoneCoverWaveConditionsOutputPropertiesTest.cs) (revision 1d39fe9482efbe216335028d9bbceb8fc4563ab6)
+++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PropertyClasses/StabilityStoneCoverWaveConditionsOutputPropertiesTest.cs (.../StabilityStoneCoverWaveConditionsOutputPropertiesTest.cs) (revision 2019968ec46375ee661021e396120c90185fb430)
@@ -113,16 +113,13 @@
};
// Call
- TypeConverter classTypeConverter = TypeDescriptor.GetConverter(properties, true);
- Assert.IsInstanceOf(classTypeConverter);
-
- // Asssert
var propertyBag = new DynamicPropertyBag(properties);
PropertyDescriptorCollection dynamicProperties = propertyBag.GetProperties(new Attribute[]
{
new BrowsableAttribute(true)
});
+ // Asssert
Assert.AreEqual(2, dynamicProperties.Count);
PropertyDescriptor blocksProperty = dynamicProperties[requiredBlockPropertyIndex];