Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ReadConversionCollector.cs =================================================================== diff -u -rac96d7c315129af851634ed5a4a6800b59ede718 -r070c0400906eb4cfbd4fdcfbf1e49d4dfeec7856 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ReadConversionCollector.cs (.../ReadConversionCollector.cs) (revision ac96d7c315129af851634ed5a4a6800b59ede718) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ReadConversionCollector.cs (.../ReadConversionCollector.cs) (revision 070c0400906eb4cfbd4fdcfbf1e49d4dfeec7856) @@ -75,9 +75,6 @@ private readonly Dictionary hydraulicBoundaryLocations = CreateDictionary(); - private readonly Dictionary grassCoverErosionOutwardsHydraulicBoundaryLocations = - CreateDictionary(); - private readonly Dictionary duneLocations = CreateDictionary(); @@ -1129,74 +1126,6 @@ #endregion - #region GrassCoverErosionOutwardsHydraulicLocationEntity: Read, Contains, Get - - /// - /// Registers a read operation for and the - /// that was constructed with the information. - /// - /// The that was read. - /// The that was constructed. - /// Thrown when any of the input parameters is null. - internal void Read(GrassCoverErosionOutwardsHydraulicLocationEntity entity, HydraulicBoundaryLocation model) - { - if (entity == null) - { - throw new ArgumentNullException(nameof(entity)); - } - if (model == null) - { - throw new ArgumentNullException(nameof(model)); - } - - grassCoverErosionOutwardsHydraulicBoundaryLocations[entity] = model; - } - - /// - /// Checks whether a read operation has been registered for a given . - /// - /// The to check for. - /// true if the was read before, false otherwise. - /// Thrown when is null. - internal bool Contains(GrassCoverErosionOutwardsHydraulicLocationEntity entity) - { - if (entity == null) - { - throw new ArgumentNullException(nameof(entity)); - } - return grassCoverErosionOutwardsHydraulicBoundaryLocations.ContainsKey(entity); - } - - /// - /// Obtains the which was read for the - /// given . - /// - /// The for which a read - /// operation has been registered. - /// The constructed . - /// Thrown when is null. - /// Thrown when no read operation has - /// been registered for . - /// Use to find out whether a - /// read operation has been registered for . - internal HydraulicBoundaryLocation Get(GrassCoverErosionOutwardsHydraulicLocationEntity entity) - { - if (entity == null) - { - throw new ArgumentNullException(nameof(entity)); - } - try - { - return grassCoverErosionOutwardsHydraulicBoundaryLocations[entity]; - } - catch (KeyNotFoundException e) - { - throw new InvalidOperationException(e.Message, e); - } - } - - #endregion - #region HeightStructureEntity: Read, Contains, Get ///