Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/ClosingStructuresImporter.cs =================================================================== diff -u -r207fcf758cac8237b31af99f7f54278b32eba658 -r87561e199b58327ad217886c843250ff14cdf172 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/ClosingStructuresImporter.cs (.../ClosingStructuresImporter.cs) (revision 207fcf758cac8237b31af99f7f54278b32eba658) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.IO/ClosingStructuresImporter.cs (.../ClosingStructuresImporter.cs) (revision 87561e199b58327ad217886c843250ff14cdf172) @@ -66,12 +66,12 @@ } protected override IEnumerable UpdateWithCreatedStructures(ICollection structureLocations, - Dictionary> groupedStructureParameterRows) + Dictionary> groupedStructureParameterRows) { return structureUpdateStrategy.UpdateStructuresWithImportedData(ImportTarget, - CreateClosingStructures(structureLocations.ToList(), - groupedStructureParameterRows), - FilePath); + CreateClosingStructures(structureLocations.ToList(), + groupedStructureParameterRows), + FilePath); } private IEnumerable CreateClosingStructures(IEnumerable structureLocations, Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresImporter.cs =================================================================== diff -u -r207fcf758cac8237b31af99f7f54278b32eba658 -r87561e199b58327ad217886c843250ff14cdf172 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresImporter.cs (.../HeightStructuresImporter.cs) (revision 207fcf758cac8237b31af99f7f54278b32eba658) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.IO/HeightStructuresImporter.cs (.../HeightStructuresImporter.cs) (revision 87561e199b58327ad217886c843250ff14cdf172) @@ -64,12 +64,12 @@ } protected override IEnumerable UpdateWithCreatedStructures(ICollection structureLocations, - Dictionary> groupedStructureParameterRows) + Dictionary> groupedStructureParameterRows) { return structureUpdateStrategy.UpdateStructuresWithImportedData(ImportTarget, - CreateHeightStructures(structureLocations.ToList(), - groupedStructureParameterRows), - FilePath); + CreateHeightStructures(structureLocations.ToList(), + groupedStructureParameterRows), + FilePath); } private IEnumerable CreateHeightStructures(IEnumerable structureLocations, Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs =================================================================== diff -u -r8cc75c049ab3c1eee50a3309e09e18073b881c95 -r87561e199b58327ad217886c843250ff14cdf172 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision 8cc75c049ab3c1eee50a3309e09e18073b881c95) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision 87561e199b58327ad217886c843250ff14cdf172) @@ -104,7 +104,9 @@ CreateFileImporter = (context, filePath) => CreateHeightStructuresImporter( context, filePath, new ImportMessageProvider(), new HeightStructureReplaceDataStrategy(context.FailureMechanism)), VerifyUpdates = context => - VerifyStructuresShouldUpdate(context.FailureMechanism, RingtoetsCommonIOResources.VerifyStructuresShouldUpdate_When_importing_Calculation_with_Structure_data_output_will_be_cleared_confirm) + VerifyStructuresShouldUpdate( + context.FailureMechanism, + RingtoetsCommonIOResources.VerifyStructuresShouldUpdate_When_importing_Calculation_with_Structure_data_output_will_be_cleared_confirm) }; yield return RingtoetsImportInfoFactory.CreateCalculationConfigurationImportInfo( @@ -130,7 +132,9 @@ context, filePath, new UpdateMessageProvider(), new HeightStructureUpdateDataStrategy(context.FailureMechanism)), CurrentPath = context => context.WrappedData.SourcePath, VerifyUpdates = context => - VerifyStructuresShouldUpdate(context.FailureMechanism, RingtoetsCommonIOResources.VerifyStructuresShouldUpdate_When_updating_Calculation_with_Structure_data_output_will_be_cleared_confirm) + VerifyStructuresShouldUpdate( + context.FailureMechanism, + RingtoetsCommonIOResources.VerifyStructuresShouldUpdate_When_updating_Calculation_with_Structure_data_output_will_be_cleared_confirm) }; } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresImporter.cs =================================================================== diff -u -r207fcf758cac8237b31af99f7f54278b32eba658 -r87561e199b58327ad217886c843250ff14cdf172 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresImporter.cs (.../StabilityPointStructuresImporter.cs) (revision 207fcf758cac8237b31af99f7f54278b32eba658) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresImporter.cs (.../StabilityPointStructuresImporter.cs) (revision 87561e199b58327ad217886c843250ff14cdf172) @@ -32,6 +32,7 @@ using Ringtoets.Common.IO.Structures; using Ringtoets.StabilityPointStructures.Data; using RingtoetsCommonDataResources = Ringtoets.Common.Data.Properties.Resources; + namespace Ringtoets.StabilityPointStructures.IO { /// @@ -54,9 +55,9 @@ : base(importTarget, referenceLine, filePath, messageProvider) {} protected override IEnumerable UpdateWithCreatedStructures(ICollection structureLocations, - Dictionary> groupedStructureParameterRows) + Dictionary> groupedStructureParameterRows) { - IEnumerable importedStabilityPointStructures = + IEnumerable importedStabilityPointStructures = CreateStabilityPointStructures(structureLocations.ToList(), groupedStructureParameterRows).ToArray(); IEnumerable knownIds = ImportTarget.Select(t => t.Id).Intersect(importedStabilityPointStructures.Select(s => s.Id)).ToArray();