Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PersistenceRegistry.cs =================================================================== diff -u -r26f527fb809a2325c8f883ece9da01a8f8040eb3 -ra096cb901099c85dbaafa2dba6c69288464c248e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PersistenceRegistry.cs (.../PersistenceRegistry.cs) (revision 26f527fb809a2325c8f883ece9da01a8f8040eb3) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PersistenceRegistry.cs (.../PersistenceRegistry.cs) (revision a096cb901099c85dbaafa2dba6c69288464c248e) @@ -61,11 +61,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(); @@ -143,11 +143,7 @@ /// to be registered. /// The to /// be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(GrassCoverErosionInwardsCalculationEntity entity, GrassCoverErosionInwardsCalculation model) { Register(grassCoverErosionInwardsCalculations, entity, model); @@ -159,11 +155,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(FailureMechanismSectionEntity entity, FailureMechanismSection model) { Register(failureMechanismSections, entity, model); @@ -175,11 +167,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(DikeProfileEntity entity, DikeProfile model) { Register(dikeProfiles, entity, model); @@ -191,11 +179,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(ForeshoreProfileEntity entity, ForeshoreProfile model) { Register(foreshoreProfiles, entity, model); @@ -207,11 +191,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(HydraulicLocationEntity entity, HydraulicBoundaryLocation model) { Register(hydraulicLocations, entity, model); @@ -223,11 +203,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(GrassCoverErosionOutwardsHydraulicLocationEntity entity, HydraulicBoundaryLocation model) { Register(hydraulicLocations, entity, model); @@ -239,11 +215,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(DuneLocationEntity entity, DuneLocation model) { Register(duneLocations, entity, model); @@ -255,11 +227,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(StochasticSoilModelEntity entity, PipingStochasticSoilModel model) { Register(pipingStochasticSoilModels, entity, model); @@ -269,14 +237,10 @@ /// Registers a create operation for and the /// that was constructed with the information. /// - /// The to be registered. + /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// - internal void Register(StochasticSoilProfileEntity entity, PipingStochasticSoilProfile model) + /// Thrown any of the input parameters is null. + internal void Register(PipingStochasticSoilProfileEntity entity, PipingStochasticSoilProfile model) { Register(pipingStochasticSoilProfiles, entity, model); } @@ -285,14 +249,10 @@ /// Registers a create operation for and the /// that was constructed with the information. /// - /// The to be registered. + /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// - internal void Register(SoilProfileEntity entity, PipingSoilProfile model) + /// Thrown any of the input parameters is null. + internal void Register(PipingSoilProfileEntity entity, PipingSoilProfile model) { Register(pipingSoilProfiles, entity, model); } @@ -303,11 +263,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(SurfaceLineEntity entity, PipingSurfaceLine model) { Register(surfaceLines, entity, model); @@ -319,11 +275,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(HeightStructureEntity entity, HeightStructure model) { Register(heightStructures, entity, model); @@ -335,11 +287,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(ClosingStructureEntity entity, ClosingStructure model) { Register(closingStructures, entity, model); @@ -351,11 +299,7 @@ /// /// The to be registered. /// The to be registered. - /// Thrown when either: - /// - /// is null - /// is null - /// + /// Thrown any of the input parameters is null. internal void Register(StabilityPointStructureEntity entity, StabilityPointStructure model) { Register(stabilityPointStructures, entity, model); @@ -622,35 +566,35 @@ } /// - /// Obtains the which was registered for + /// Obtains the which was registered for /// the given . /// /// The for which a create /// operation has been registered. - /// The created . + /// The created . /// Thrown when is null. /// Thrown when no create operation /// has been registered for . /// Use to find out whether /// a create/create operation has been registered for . - internal StochasticSoilProfileEntity Get(PipingStochasticSoilProfile model) + internal PipingStochasticSoilProfileEntity Get(PipingStochasticSoilProfile model) { return Get(pipingStochasticSoilProfiles, model); } /// - /// Obtains the which was registered for the given + /// Obtains the which was registered for the given /// . /// - /// The for which a create + /// The for which a create /// operation has been registered. /// The constructed . /// Thrown when is null. /// Thrown when no create operation /// has been registered for . /// Use to find out whether a /// create operation has been registered for . - internal SoilProfileEntity Get(PipingSoilProfile model) + internal PipingSoilProfileEntity Get(PipingSoilProfile model) { return Get(pipingSoilProfiles, model); }