Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ReadConversionCollector.cs =================================================================== diff -u -r26f527fb809a2325c8f883ece9da01a8f8040eb3 -ra096cb901099c85dbaafa2dba6c69288464c248e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ReadConversionCollector.cs (.../ReadConversionCollector.cs) (revision 26f527fb809a2325c8f883ece9da01a8f8040eb3) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ReadConversionCollector.cs (.../ReadConversionCollector.cs) (revision a096cb901099c85dbaafa2dba6c69288464c248e) @@ -46,11 +46,11 @@ private readonly Dictionary pipingStochasticSoilModels = CreateDictionary(); - private readonly Dictionary pipingStochasticSoilProfiles = - CreateDictionary(); + private readonly Dictionary pipingStochasticSoilProfiles = + CreateDictionary(); - private readonly Dictionary pipingSoilProfiles = - CreateDictionary(); + private readonly Dictionary pipingSoilProfiles = + CreateDictionary(); private readonly Dictionary surfaceLines = CreateDictionary(); @@ -107,11 +107,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(StochasticSoilModelEntity entity, PipingStochasticSoilModel model) { if (entity == null) @@ -170,20 +166,16 @@ #endregion - #region StochasticSoilProfileEntity: Read, Contains, Get + #region PipingStochasticSoilProfileEntity: Read, Contains, Get /// - /// Registers a read operation for and + /// Registers a read operation for and /// the that was constructed with the information. /// - /// The that was read. + /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// - internal void Read(StochasticSoilProfileEntity entity, PipingStochasticSoilProfile model) + /// Thrown when any of the input parameters is null. + internal void Read(PipingStochasticSoilProfileEntity entity, PipingStochasticSoilProfile model) { if (entity == null) { @@ -198,12 +190,12 @@ } /// - /// Checks whether a read operations has been registered for the given . + /// Checks whether a read operations has been registered for the given . /// - /// The to check for. + /// The to check for. /// true if the was read before, false otherwise. /// Thrown when is null. - internal bool Contains(StochasticSoilProfileEntity entity) + internal bool Contains(PipingStochasticSoilProfileEntity entity) { if (entity == null) { @@ -214,17 +206,17 @@ /// /// Obtains the which was read for the given - /// . + /// . /// - /// The for which + /// 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 PipingStochasticSoilProfile Get(StochasticSoilProfileEntity entity) + /// Thrown when no read operation has been + /// registered for . + /// Use to find out + /// whether a read operation has been registered for . + internal PipingStochasticSoilProfile Get(PipingStochasticSoilProfileEntity entity) { if (entity == null) { @@ -242,20 +234,16 @@ #endregion - #region SoilProfileEntity: Read, Contains, Get + #region PipingSoilProfileEntity: Read, Contains, Get /// - /// Registers a read operation for and the that - /// was constructed with the information. + /// Registers a read operation for and the + /// that was constructed with the information. /// - /// The that was read. + /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// - internal void Read(SoilProfileEntity entity, PipingSoilProfile model) + /// Thrown when any of the input parameters is null. + internal void Read(PipingSoilProfileEntity entity, PipingSoilProfile model) { if (entity == null) { @@ -272,10 +260,10 @@ /// /// Checks whether a read operations has been registered for the given . /// - /// The to check for. + /// The to check for. /// true if the was read before, false otherwise. /// Thrown when is null. - internal bool Contains(SoilProfileEntity entity) + internal bool Contains(PipingSoilProfileEntity entity) { if (entity == null) { @@ -287,14 +275,15 @@ /// /// Obtains the which was read for the given . /// - /// The for which a read operation has been registered. + /// 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 PipingSoilProfile Get(SoilProfileEntity entity) + /// Thrown when no read operation has been + /// registered for . + /// Use to find out whether a + /// read operation has been registered for . + internal PipingSoilProfile Get(PipingSoilProfileEntity entity) { if (entity == null) { @@ -320,11 +309,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(SurfaceLineEntity entity, PipingSurfaceLine model) { if (entity == null) @@ -392,11 +377,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(HydraulicLocationEntity entity, HydraulicBoundaryLocation model) { if (entity == null) @@ -464,11 +445,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(DuneLocationEntity entity, DuneLocation model) { if (entity == null) @@ -536,11 +513,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(FailureMechanismSectionEntity entity, FailureMechanismSection model) { if (entity == null) @@ -608,11 +581,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(DikeProfileEntity entity, DikeProfile model) { if (entity == null) @@ -680,11 +649,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(ForeshoreProfileEntity entity, ForeshoreProfile model) { if (entity == null) @@ -755,11 +720,7 @@ /// that was read. /// The that /// was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(GrassCoverErosionInwardsCalculationEntity entity, GrassCoverErosionInwardsCalculation model) { if (entity == null) @@ -827,11 +788,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(GrassCoverErosionOutwardsHydraulicLocationEntity entity, HydraulicBoundaryLocation model) { if (entity == null) @@ -899,11 +856,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(HeightStructureEntity entity, HeightStructure model) { if (entity == null) @@ -1042,11 +995,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(ClosingStructureEntity entity, ClosingStructure model) { if (entity == null) @@ -1185,11 +1134,7 @@ /// /// The that was read. /// The that was constructed. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown when any of the input parameters is null. internal void Read(StabilityPointStructureEntity entity, StabilityPointStructure model) { if (entity == null)