Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/PropertyClasses/HydraulicBoundaryLocationProperties.cs =================================================================== diff -u -r03db4c2a6708630d26b6a615620347dc755c50d0 -r2a666f9e74792e4baf5047052cd0dbecb90a07e5 --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/PropertyClasses/HydraulicBoundaryLocationProperties.cs (.../HydraulicBoundaryLocationProperties.cs) (revision 03db4c2a6708630d26b6a615620347dc755c50d0) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/PropertyClasses/HydraulicBoundaryLocationProperties.cs (.../HydraulicBoundaryLocationProperties.cs) (revision 2a666f9e74792e4baf5047052cd0dbecb90a07e5) @@ -36,33 +36,33 @@ namespace Ringtoets.Integration.Forms.PropertyClasses { /// - /// ViewModel of for properties panel. + /// ViewModel of for properties panel. /// [TypeConverter(typeof(ExpandableObjectConverter))] - public abstract class HydraulicBoundaryLocationProperties : ObjectProperties + public abstract class HydraulicBoundaryLocationProperties : ObjectProperties { private readonly Dictionary propertyIndexLookup; /// /// Creates a new instance of . /// - /// The hydraulic boundary location. + /// The hydraulic boundary location calculation. /// The containing the property indices. /// Thrown when any input parameter is null. - protected HydraulicBoundaryLocationProperties(HydraulicBoundaryLocation hydraulicBoundaryLocation, + protected HydraulicBoundaryLocationProperties(HydraulicBoundaryLocationCalculation hydraulicBoundaryLocationCalculation, ConstructionProperties propertyIndexes) { - if (hydraulicBoundaryLocation == null) + if (hydraulicBoundaryLocationCalculation == null) { - throw new ArgumentNullException(nameof(hydraulicBoundaryLocation)); + throw new ArgumentNullException(nameof(hydraulicBoundaryLocationCalculation)); } if (propertyIndexes == null) { throw new ArgumentNullException(nameof(propertyIndexes)); } - Data = hydraulicBoundaryLocation; + Data = hydraulicBoundaryLocationCalculation; propertyIndexLookup = new Dictionary { @@ -98,7 +98,7 @@ { get { - return data.Id; + return data.HydraulicBoundaryLocation.Id; } } @@ -110,7 +110,7 @@ { get { - return data.Name; + return data.HydraulicBoundaryLocation.Name; } } @@ -122,7 +122,7 @@ { get { - return data.Location; + return data.HydraulicBoundaryLocation.Location; } }