Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PropertyClasses/GrassCoverErosionOutwardsDesignWaterLevelLocationsContextProperties.cs =================================================================== diff -u -re182f6f394aa75e739467a77e7bcacd9a8b25429 -r816744aa249d90e7460b9c2844292b2e0cf13669 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PropertyClasses/GrassCoverErosionOutwardsDesignWaterLevelLocationsContextProperties.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsContextProperties.cs) (revision e182f6f394aa75e739467a77e7bcacd9a8b25429) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PropertyClasses/GrassCoverErosionOutwardsDesignWaterLevelLocationsContextProperties.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsContextProperties.cs) (revision 816744aa249d90e7460b9c2844292b2e0cf13669) @@ -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 System.Linq; using Core.Common.Base; @@ -37,6 +38,20 @@ /// public class GrassCoverErosionOutwardsDesignWaterLevelLocationsContextProperties : ObjectProperties> { + /// + /// Creates a new instance of . + /// + /// The locations to show the properties for. + /// Thrown when is null. + public GrassCoverErosionOutwardsDesignWaterLevelLocationsContextProperties(ObservableList locations) + { + if (locations == null) + { + throw new ArgumentNullException("locations"); + } + Data = locations; + } + [TypeConverter(typeof(ExpandableArrayConverter))] [ResourcesCategory(typeof(Resources), "Categories_General")] [ResourcesDisplayName(typeof(Resources), "HydraulicBoundaryDatabase_Locations_DisplayName")]