Index: Ringtoets/Integration/test/Ringtoets.Integration.TestUtils/DataImportHelper.cs
===================================================================
diff -u -rd6fe8399e8398224cf1bda9259052232d85b85a4 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/Integration/test/Ringtoets.Integration.TestUtils/DataImportHelper.cs (.../DataImportHelper.cs) (revision d6fe8399e8398224cf1bda9259052232d85b85a4)
+++ Ringtoets/Integration/test/Ringtoets.Integration.TestUtils/DataImportHelper.cs (.../DataImportHelper.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -232,7 +232,7 @@
#region MacroStabilityInwards Specific Imports
///
- /// Imports the data for the
+ /// Imports the data for the
/// of the given .
///
/// The to import on.
@@ -245,7 +245,7 @@
"DR6_surfacelines.krp.csv"))
{
string filePath = Path.Combine(embeddedResourceFileWriter.TargetFolderPath, "DR6_surfacelines.csv");
- var activity = new FileImportActivity(new SurfaceLinesCsvImporter(
+ var activity = new FileImportActivity(new SurfaceLinesCsvImporter(
assessmentSection.MacroStabilityInwards.SurfaceLines,
filePath,
new ImportMessageProvider(),
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsCalculationScenarioExtensions.cs
===================================================================
diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsCalculationScenarioExtensions.cs (.../MacroStabilityInwardsCalculationScenarioExtensions.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsCalculationScenarioExtensions.cs (.../MacroStabilityInwardsCalculationScenarioExtensions.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -41,7 +41,7 @@
/// Thrown when contains no elements.
public static bool IsSurfaceLineIntersectionWithReferenceLineInSection(this MacroStabilityInwardsCalculationScenario macroStabilityInwardsCalculationScenario, IEnumerable lineSegments)
{
- RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine = macroStabilityInwardsCalculationScenario?.InputParameters.SurfaceLine;
+ MacroStabilityInwardsSurfaceLine surfaceLine = macroStabilityInwardsCalculationScenario?.InputParameters.SurfaceLine;
if (surfaceLine == null)
{
return false;
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanism.cs
===================================================================
diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanism.cs (.../MacroStabilityInwardsFailureMechanism.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanism.cs (.../MacroStabilityInwardsFailureMechanism.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -42,7 +42,7 @@
{
MacroStabilityInwardsProbabilityAssessmentInput = new MacroStabilityInwardsProbabilityAssessmentInput();
GeneralInput = new GeneralMacroStabilityInwardsInput();
- SurfaceLines = new RingtoetsMacroStabilityInwardsSurfaceLineCollection();
+ SurfaceLines = new MacroStabilityInwardsSurfaceLineCollection();
StochasticSoilModels = new StochasticSoilModelCollection();
CalculationsGroup = new CalculationGroup(RingtoetsCommonDataResources.FailureMechanism_Calculations_DisplayName, false);
@@ -60,7 +60,7 @@
///
/// Gets the available surface lines within the scope of the macro stability inwards failure mechanism.
///
- public RingtoetsMacroStabilityInwardsSurfaceLineCollection SurfaceLines { get; }
+ public MacroStabilityInwardsSurfaceLineCollection SurfaceLines { get; }
///
/// Gets the available stochastic soil models within the scope of the macro stability inwards failure mechanism.
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs
===================================================================
diff -u -r5906f61fff270a7526253bea07dfecdf680898ed -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs (.../MacroStabilityInwardsInput.cs) (revision 5906f61fff270a7526253bea07dfecdf680898ed)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs (.../MacroStabilityInwardsInput.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -61,7 +61,7 @@
///
/// Gets or sets the surface line.
///
- public RingtoetsMacroStabilityInwardsSurfaceLine SurfaceLine { get; set; }
+ public MacroStabilityInwardsSurfaceLine SurfaceLine { get; set; }
///
/// Gets or sets the stochastic soil model which is linked to the .
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsSurfaceLineCollection.cs
===================================================================
diff -u
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsSurfaceLineCollection.cs (revision 0)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsSurfaceLineCollection.cs (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -0,0 +1,39 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Base;
+using Ringtoets.MacroStabilityInwards.Data.Properties;
+using Ringtoets.MacroStabilityInwards.Primitives;
+using RingtoetsCommonDataResources = Ringtoets.Common.Data.Properties.Resources;
+
+namespace Ringtoets.MacroStabilityInwards.Data
+{
+ ///
+ /// Collection to store items. The
+ /// names of the items are unique within the collection.
+ ///
+ public class MacroStabilityInwardsSurfaceLineCollection : ObservableUniqueItemCollectionWithSourcePath
+ {
+ public MacroStabilityInwardsSurfaceLineCollection() : base(line => line.Name,
+ RingtoetsCommonDataResources.SurfaceLineCollection_TypeDescriptor,
+ Resources.UniqueFeature_Name_FeatureDescription) {}
+ }
+}
\ No newline at end of file
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/Ringtoets.MacroStabilityInwards.Data.csproj
===================================================================
diff -u -rf6f910cf9e6c78af77bbac56f232242553e3f9de -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/Ringtoets.MacroStabilityInwards.Data.csproj (.../Ringtoets.MacroStabilityInwards.Data.csproj) (revision f6f910cf9e6c78af77bbac56f232242553e3f9de)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/Ringtoets.MacroStabilityInwards.Data.csproj (.../Ringtoets.MacroStabilityInwards.Data.csproj) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -56,7 +56,7 @@
Resources.resx
-
+
Fisheye: Tag cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213 refers to a dead (removed) revision in file `Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/RingtoetsMacroStabilityInwardsSurfaceLineCollection.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfileUnderSurfaceLineFactory.cs
===================================================================
diff -u -r6483bd7c2aef66cc8ae0879ba2b2b261aa0cb32a -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfileUnderSurfaceLineFactory.cs (.../SoilProfileUnderSurfaceLineFactory.cs) (revision 6483bd7c2aef66cc8ae0879ba2b2b261aa0cb32a)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfileUnderSurfaceLineFactory.cs (.../SoilProfileUnderSurfaceLineFactory.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -41,7 +41,7 @@
/// The surface line for which determines the top of the .
/// A new containing geometries from the
/// under the .
- public static SoilProfileUnderSurfaceLine Create(MacroStabilityInwardsSoilProfile1D soilProfile, RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static SoilProfileUnderSurfaceLine Create(MacroStabilityInwardsSoilProfile1D soilProfile, MacroStabilityInwardsSurfaceLine surfaceLine)
{
if (soilProfile == null)
{
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/StochasticSoilModelExtensions.cs
===================================================================
diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/StochasticSoilModelExtensions.cs (.../StochasticSoilModelExtensions.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/StochasticSoilModelExtensions.cs (.../StochasticSoilModelExtensions.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -41,7 +41,7 @@
/// false otherwise.
/// Thrown when any input parameter is null.
public static bool IntersectsWithSurfaceLineGeometry(this StochasticSoilModel stochasticSoilModel,
- RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ MacroStabilityInwardsSurfaceLine surfaceLine)
{
if (stochasticSoilModel == null)
{
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataFactory.cs
===================================================================
diff -u -r95118671634e4963f81f7e5620424fe52fb95486 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataFactory.cs (.../MacroStabilityInwardsChartDataFactory.cs) (revision 95118671634e4963f81f7e5620424fe52fb95486)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataFactory.cs (.../MacroStabilityInwardsChartDataFactory.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -161,9 +161,9 @@
/// Updates the name of based on .
///
/// The to update the name for.
- /// The used for obtaining the name.
+ /// The used for obtaining the name.
/// A default name is set when is null.
- public static void UpdateSurfaceLineChartDataName(ChartLineData chartData, RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static void UpdateSurfaceLineChartDataName(ChartLineData chartData, MacroStabilityInwardsSurfaceLine surfaceLine)
{
chartData.Name = surfaceLine != null
? surfaceLine.Name
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataPointsFactory.cs
===================================================================
diff -u -r6483bd7c2aef66cc8ae0879ba2b2b261aa0cb32a -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataPointsFactory.cs (.../MacroStabilityInwardsChartDataPointsFactory.cs) (revision 6483bd7c2aef66cc8ae0879ba2b2b261aa0cb32a)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataPointsFactory.cs (.../MacroStabilityInwardsChartDataPointsFactory.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -38,9 +38,9 @@
///
/// Create surface line points in 2D space based on the provided .
///
- /// The to create the surface line points for.
+ /// The to create the surface line points for.
/// An array of points in 2D space or an empty array when is null.
- public static Point2D[] CreateSurfaceLinePoints(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateSurfaceLinePoints(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return surfaceLine?.LocalGeometry.ToArray() ?? new Point2D[0];
}
@@ -50,7 +50,7 @@
///
/// The to create the soil layer points for.
/// The that contains .
- /// The that may intersect with
+ /// The that may intersect with
/// the and by doing that restricts the drawn height of it.
/// A collection which contains one or more (in the case of
/// splitting the layer in multiple parts) arrays of points in 2D space or an empty array when:
@@ -63,7 +63,7 @@
///
public static IEnumerable CreateSoilLayerAreas(MacroStabilityInwardsSoilLayer1D soilLayer,
MacroStabilityInwardsSoilProfile1D soilProfile,
- RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ MacroStabilityInwardsSurfaceLine surfaceLine)
{
if (soilLayer == null || soilProfile == null || surfaceLine == null)
{
@@ -98,7 +98,7 @@
/// the surface level outside point in is null.
///
///
- public static Point2D[] CreateSurfaceLevelOutsidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateSurfaceLevelOutsidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.SurfaceLevelOutside);
}
@@ -113,7 +113,7 @@
/// the dike toe at river point in is null.
///
///
- public static Point2D[] CreateDikeToeAtRiverPoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateDikeToeAtRiverPoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.DikeToeAtRiver);
}
@@ -128,7 +128,7 @@
/// the traffic load outside point in is null.
///
///
- public static Point2D[] CreateTrafficLoadOutsidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateTrafficLoadOutsidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.TrafficLoadOutside);
}
@@ -143,7 +143,7 @@
/// the traffic load inside point in is null.
///
///
- public static Point2D[] CreateTrafficLoadInsidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateTrafficLoadInsidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.TrafficLoadInside);
}
@@ -158,7 +158,7 @@
/// the dike top at polder point in is null.
///
///
- public static Point2D[] CreateDikeTopAtPolderPoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateDikeTopAtPolderPoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.DikeTopAtPolder);
}
@@ -173,7 +173,7 @@
/// the shoulder base inside point in is null.
///
///
- public static Point2D[] CreateShoulderBaseInsidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateShoulderBaseInsidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.ShoulderBaseInside);
}
@@ -188,7 +188,7 @@
/// the shoulder top inside point in is null.
///
///
- public static Point2D[] CreateShoulderTopInsidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateShoulderTopInsidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.ShoulderTopInside);
}
@@ -203,7 +203,7 @@
/// the dike toe at polder point in is null.
///
///
- public static Point2D[] CreateDikeToeAtPolderPoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateDikeToeAtPolderPoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.DikeToeAtPolder);
}
@@ -218,7 +218,7 @@
/// the ditch dike side point in is null.
///
///
- public static Point2D[] CreateDitchDikeSidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateDitchDikeSidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.DitchDikeSide);
}
@@ -233,7 +233,7 @@
/// the bottom ditch dike side point in is null.
///
///
- public static Point2D[] CreateBottomDitchDikeSidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateBottomDitchDikeSidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.BottomDitchDikeSide);
}
@@ -248,7 +248,7 @@
/// the bottom ditch polder side point in is null.
///
///
- public static Point2D[] CreateBottomDitchPolderSidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateBottomDitchPolderSidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.BottomDitchPolderSide);
}
@@ -263,7 +263,7 @@
/// the surface level inside point in is null.
///
///
- public static Point2D[] CreateSurfaceLevelInsidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateSurfaceLevelInsidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.SurfaceLevelInside);
}
@@ -278,12 +278,12 @@
/// the ditch polder side point in is null.
///
///
- public static Point2D[] CreateDitchPolderSidePoint(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ public static Point2D[] CreateDitchPolderSidePoint(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return GetLocalPointsFromGeometry(surfaceLine, surfaceLine?.DitchPolderSide);
}
- private static Point2D[] GetLocalPointsFromGeometry(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine,
+ private static Point2D[] GetLocalPointsFromGeometry(MacroStabilityInwardsSurfaceLine surfaceLine,
Point3D worldCoordinate)
{
if (surfaceLine == null || worldCoordinate == null)
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsMapDataFactory.cs
===================================================================
diff -u -r9540d67453c6a1caf5833d64ab651660dce11595 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsMapDataFactory.cs (.../MacroStabilityInwardsMapDataFactory.cs) (revision 9540d67453c6a1caf5833d64ab651660dce11595)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsMapDataFactory.cs (.../MacroStabilityInwardsMapDataFactory.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -36,7 +36,7 @@
internal static class MacroStabilityInwardsMapDataFactory
{
///
- /// Create with default styling for collections of .
+ /// Create with default styling for collections of .
///
/// The created .
public static MapLineData CreateSurfaceLinesMapData()
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsMapDataFeaturesFactory.cs
===================================================================
diff -u -r5906f61fff270a7526253bea07dfecdf680898ed -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsMapDataFeaturesFactory.cs (.../MacroStabilityInwardsMapDataFeaturesFactory.cs) (revision 5906f61fff270a7526253bea07dfecdf680898ed)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsMapDataFeaturesFactory.cs (.../MacroStabilityInwardsMapDataFeaturesFactory.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -41,17 +41,17 @@
///
/// Create surface line features based on the provided .
///
- /// The collection of to create the surface line features for.
+ /// The collection of to create the surface line features for.
/// An array of features or an empty array when is null or empty.
- public static MapFeature[] CreateSurfaceLineFeatures(RingtoetsMacroStabilityInwardsSurfaceLine[] surfaceLines)
+ public static MapFeature[] CreateSurfaceLineFeatures(MacroStabilityInwardsSurfaceLine[] surfaceLines)
{
if (surfaceLines != null && surfaceLines.Any())
{
var features = new MapFeature[surfaceLines.Length];
for (var i = 0; i < surfaceLines.Length; i++)
{
- RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine = surfaceLines[i];
+ MacroStabilityInwardsSurfaceLine surfaceLine = surfaceLines[i];
MapFeature feature = RingtoetsMapDataFeaturesFactory.CreateSingleLineMapFeature(GetWorldPoints(surfaceLine));
feature.MetaData[RingtoetsCommonFormsResources.MetaData_Name] = surfaceLine.Name;
@@ -121,7 +121,7 @@
return RingtoetsMapDataFeaturesFactory.CreateCalculationFeatures(calculationData);
}
- private static IEnumerable GetWorldPoints(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ private static IEnumerable GetWorldPoints(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return surfaceLine.Points.Select(p => new Point2D(p.X, p.Y));
}
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/MacroStabilityInwardsCalculationConfigurationHelper.cs
===================================================================
diff -u -r5906f61fff270a7526253bea07dfecdf680898ed -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/MacroStabilityInwardsCalculationConfigurationHelper.cs (.../MacroStabilityInwardsCalculationConfigurationHelper.cs) (revision 5906f61fff270a7526253bea07dfecdf680898ed)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/MacroStabilityInwardsCalculationConfigurationHelper.cs (.../MacroStabilityInwardsCalculationConfigurationHelper.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -55,7 +55,7 @@
/// is null
/// is null
///
- public static IEnumerable GenerateCalculationItemsStructure(IEnumerable surfaceLines, IEnumerable soilModels, GeneralMacroStabilityInwardsInput generalInput)
+ public static IEnumerable GenerateCalculationItemsStructure(IEnumerable surfaceLines, IEnumerable soilModels, GeneralMacroStabilityInwardsInput generalInput)
{
if (surfaceLines == null)
{
@@ -71,7 +71,7 @@
}
var groups = new List();
- foreach (RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine in surfaceLines)
+ foreach (MacroStabilityInwardsSurfaceLine surfaceLine in surfaceLines)
{
CalculationGroup group = CreateCalculationGroup(surfaceLine, soilModels, generalInput);
if (group.GetCalculations().Any())
@@ -81,7 +81,7 @@
else
{
log.WarnFormat(
- Resources.MacroStabilityInwardsCalculationConfigurationHelper_GenerateCalculationsStructure_No_SoilProfile_found_for_RingtoetsMacroStabilityInwardsSurfaceLine_0_skipped,
+ Resources.MacroStabilityInwardsCalculationConfigurationHelper_GenerateCalculationsStructure_No_SoilProfile_found_for_MacroStabilityInwardsSurfaceLine_0_skipped,
surfaceLine.Name);
}
}
@@ -96,7 +96,7 @@
/// The (sub)set of stochastic soil models from
/// or empty if no matching instances can be found
/// or when there is not enough information to associate soil profiles to the calculation.
- public static IEnumerable GetStochasticSoilModelsForSurfaceLine(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, IEnumerable availableSoilModels)
+ public static IEnumerable GetStochasticSoilModelsForSurfaceLine(MacroStabilityInwardsSurfaceLine surfaceLine, IEnumerable availableSoilModels)
{
if (surfaceLine == null)
{
@@ -108,7 +108,7 @@
.ToList();
}
- private static CalculationGroup CreateCalculationGroup(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, IEnumerable soilModels, GeneralMacroStabilityInwardsInput generalInput)
+ private static CalculationGroup CreateCalculationGroup(MacroStabilityInwardsSurfaceLine surfaceLine, IEnumerable soilModels, GeneralMacroStabilityInwardsInput generalInput)
{
var calculationGroup = new CalculationGroup(surfaceLine.Name, true);
IEnumerable stochasticSoilModels = GetStochasticSoilModelsForSurfaceLine(surfaceLine, soilModels);
@@ -123,7 +123,7 @@
return calculationGroup;
}
- private static ICalculationBase CreateMacroStabilityInwardsCalculation(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, StochasticSoilModel stochasticSoilModel, StochasticSoilProfile stochasticSoilProfile, IEnumerable calculations, GeneralMacroStabilityInwardsInput generalInput)
+ private static ICalculationBase CreateMacroStabilityInwardsCalculation(MacroStabilityInwardsSurfaceLine surfaceLine, StochasticSoilModel stochasticSoilModel, StochasticSoilProfile stochasticSoilProfile, IEnumerable calculations, GeneralMacroStabilityInwardsInput generalInput)
{
string nameBase = $"{surfaceLine.Name} {stochasticSoilProfile}";
string name = NamingHelper.GetUniqueName(calculations, nameBase, c => c.Name);
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/MacroStabilityInwardsSurfaceLineSelectionDialog.cs
===================================================================
diff -u -r2fc082ea75494a149eca240146035aa8fa7f9e1c -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/MacroStabilityInwardsSurfaceLineSelectionDialog.cs (.../MacroStabilityInwardsSurfaceLineSelectionDialog.cs) (revision 2fc082ea75494a149eca240146035aa8fa7f9e1c)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/MacroStabilityInwardsSurfaceLineSelectionDialog.cs (.../MacroStabilityInwardsSurfaceLineSelectionDialog.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -32,18 +32,18 @@
namespace Ringtoets.MacroStabilityInwards.Forms
{
///
- /// A dialog which allows the user to make a selection from a given set of . Upon
- /// closing of the dialog, the selected can be obtained.
+ /// A dialog which allows the user to make a selection from a given set of . Upon
+ /// closing of the dialog, the selected can be obtained.
///
- public class MacroStabilityInwardsSurfaceLineSelectionDialog : SelectionDialogBase
+ public class MacroStabilityInwardsSurfaceLineSelectionDialog : SelectionDialogBase
{
///
/// Creates a new instance of .
///
/// The parent of the dialog.
- /// The collection of to show in the dialog.
+ /// The collection of to show in the dialog.
/// Thrown when any parameter is null.
- public MacroStabilityInwardsSurfaceLineSelectionDialog(IWin32Window dialogParent, IEnumerable surfaceLines)
+ public MacroStabilityInwardsSurfaceLineSelectionDialog(IWin32Window dialogParent, IEnumerable surfaceLines)
: base(dialogParent)
{
if (surfaceLines == null)
@@ -54,7 +54,7 @@
Text = Resources.MacroStabilityInwardsSurfaceLineSelectionDialog_Select_SurfaceLines;
InitializeDataGridView(RingtoetsCommonFormsResources.SurfaceLine_DisplayName);
- SetDataSource(surfaceLines.Select(sl => new SelectableRow(sl, sl.Name)).ToArray());
+ SetDataSource(surfaceLines.Select(sl => new SelectableRow(sl, sl.Name)).ToArray());
}
}
}
\ No newline at end of file
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsCalculationGroupContext.cs
===================================================================
diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsCalculationGroupContext.cs (.../MacroStabilityInwardsCalculationGroupContext.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsCalculationGroupContext.cs (.../MacroStabilityInwardsCalculationGroupContext.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -46,7 +46,7 @@
/// The assessment section which the context belongs to.
/// Thrown when any input argument is null.
public MacroStabilityInwardsCalculationGroupContext(CalculationGroup calculationGroup,
- IEnumerable surfaceLines,
+ IEnumerable surfaceLines,
IEnumerable stochasticSoilModels,
MacroStabilityInwardsFailureMechanism macroStabilityInwardsFailureMechanism,
IAssessmentSection assessmentSection)
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsCalculationScenarioContext.cs
===================================================================
diff -u -r5906f61fff270a7526253bea07dfecdf680898ed -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsCalculationScenarioContext.cs (.../MacroStabilityInwardsCalculationScenarioContext.cs) (revision 5906f61fff270a7526253bea07dfecdf680898ed)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsCalculationScenarioContext.cs (.../MacroStabilityInwardsCalculationScenarioContext.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -44,7 +44,7 @@
/// The assessment section which the macro stability inwards context belongs to.
/// Thrown when any input argument is null.
public MacroStabilityInwardsCalculationScenarioContext(MacroStabilityInwardsCalculationScenario calculation,
- IEnumerable surfaceLines,
+ IEnumerable surfaceLines,
IEnumerable stochasticSoilModels,
MacroStabilityInwardsFailureMechanism macroStabilityInwardsFailureMechanism,
IAssessmentSection assessmentSection)
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsContext.cs
===================================================================
diff -u -r5906f61fff270a7526253bea07dfecdf680898ed -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsContext.cs (.../MacroStabilityInwardsContext.cs) (revision 5906f61fff270a7526253bea07dfecdf680898ed)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsContext.cs (.../MacroStabilityInwardsContext.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -48,7 +48,7 @@
/// Thrown when any input argument is null.
protected MacroStabilityInwardsContext(
T wrappedData,
- IEnumerable surfaceLines,
+ IEnumerable surfaceLines,
IEnumerable stochasticSoilModels,
MacroStabilityInwardsFailureMechanism macroStabilityInwardsFailureMechanism,
IAssessmentSection assessmentSection) : base(wrappedData)
@@ -65,7 +65,7 @@
/// Gets the available macro stability inwards surface lines in order for the user to select one to
/// set .
///
- public IEnumerable AvailableMacroStabilityInwardsSurfaceLines { get; private set; }
+ public IEnumerable AvailableMacroStabilityInwardsSurfaceLines { get; private set; }
///
/// Gets the available stochastic soil models in order for the user to select a and
@@ -107,7 +107,7 @@
/// The macro stability inwards failure mechanism.
/// The assessment section.
/// Thrown when any input parameter is null.
- private static void AssertInputsAreNotNull(IEnumerable surfaceLines,
+ private static void AssertInputsAreNotNull(IEnumerable surfaceLines,
IEnumerable stochasticSoilModels,
MacroStabilityInwardsFailureMechanism macroStabilityInwardsFailureMechanism,
IAssessmentSection assessmentSection)
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsInputContext.cs
===================================================================
diff -u -rcfe30fb624bcc031454e7ff22e333386ed6ead87 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsInputContext.cs (.../MacroStabilityInwardsInputContext.cs) (revision cfe30fb624bcc031454e7ff22e333386ed6ead87)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsInputContext.cs (.../MacroStabilityInwardsInputContext.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -46,7 +46,7 @@
/// Thrown when any input argument is null.
public MacroStabilityInwardsInputContext(MacroStabilityInwardsInput macroStabilityInwardsInput,
MacroStabilityInwardsCalculationScenario calculation,
- IEnumerable surfaceLines,
+ IEnumerable surfaceLines,
IEnumerable stochasticSoilModels,
MacroStabilityInwardsFailureMechanism macroStabilityInwardsFailureMechanism,
IAssessmentSection assessmentSection)
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsSurfaceLinesContext.cs
===================================================================
diff -u
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsSurfaceLinesContext.cs (revision 0)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsSurfaceLinesContext.cs (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -0,0 +1,69 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using Core.Common.Controls.PresentationObjects;
+using Ringtoets.Common.Data.AssessmentSection;
+using Ringtoets.MacroStabilityInwards.Data;
+
+namespace Ringtoets.MacroStabilityInwards.Forms.PresentationObjects
+{
+ ///
+ /// The presentation object for .
+ ///
+ public class MacroStabilityInwardsSurfaceLinesContext : ObservableWrappedObjectContextBase
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The collection to update.
+ /// The failure mechanism.
+ /// The assessment section.
+ /// Thrown when any input argument is null.
+ public MacroStabilityInwardsSurfaceLinesContext(MacroStabilityInwardsSurfaceLineCollection surfaceLines,
+ MacroStabilityInwardsFailureMechanism failureMechanism,
+ IAssessmentSection assessmentSection)
+ : base(surfaceLines)
+ {
+ if (assessmentSection == null)
+ {
+ throw new ArgumentNullException(nameof(assessmentSection));
+ }
+ if (failureMechanism == null)
+ {
+ throw new ArgumentNullException(nameof(failureMechanism));
+ }
+
+ AssessmentSection = assessmentSection;
+ FailureMechanism = failureMechanism;
+ }
+
+ ///
+ /// Gets the assessment section which the context belongs to.
+ ///
+ public IAssessmentSection AssessmentSection { get; private set; }
+
+ ///
+ /// Gets the failure mechanism which the context belongs to.
+ ///
+ public MacroStabilityInwardsFailureMechanism FailureMechanism { get; private set; }
+ }
+}
\ No newline at end of file
Fisheye: Tag cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213 refers to a dead (removed) revision in file `Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/RingtoetsMacroStabilityInwardsSurfaceLinesContext.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Properties/Resources.Designer.cs
===================================================================
diff -u -r42589a013431937bdf0165af5fda1228d235629a -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 42589a013431937bdf0165af5fda1228d235629a)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -138,10 +138,10 @@
///
/// Looks up a localized string similar to Geen ondergrondschematisaties gevonden voor profielschematisatie '{0}'. De profielschematisatie is overgeslagen..
///
- public static string MacroStabilityInwardsCalculationConfigurationHelper_GenerateCalculationsStructure_No_SoilProfile_found_for_RingtoetsMacroStabilityInwardsSurfaceLine_0_skipped {
+ public static string MacroStabilityInwardsCalculationConfigurationHelper_GenerateCalculationsStructure_No_SoilProfile_found_for_MacroStabilityInwardsSurfaceLine_0_skipped {
get {
return ResourceManager.GetString("MacroStabilityInwardsCalculationConfigurationHelper_GenerateCalculationsStructure" +
- "_No_SoilProfile_found_for_RingtoetsMacroStabilityInwardsSurfaceLine_0_skipped", resourceCulture);
+ "_No_SoilProfile_found_for_MacroStabilityInwardsSurfaceLine_0_skipped", resourceCulture);
}
}
@@ -423,20 +423,20 @@
}
///
- /// Looks up a localized string similar to Selecteer profielschematisaties.
+ /// Looks up a localized string similar to De locatie van het bestand waaruit de profielschematisaties zijn geïmporteerd..
///
- public static string MacroStabilityInwardsSurfaceLineSelectionDialog_Select_SurfaceLines {
+ public static string MacroStabilityInwardsSurfaceLineCollection_SourcePath_Description {
get {
- return ResourceManager.GetString("MacroStabilityInwardsSurfaceLineSelectionDialog_Select_SurfaceLines", resourceCulture);
+ return ResourceManager.GetString("MacroStabilityInwardsSurfaceLineCollection_SourcePath_Description", resourceCulture);
}
}
///
- /// Looks up a localized string similar to De locatie van het bestand waaruit de profielschematisaties zijn geïmporteerd..
+ /// Looks up a localized string similar to Selecteer profielschematisaties.
///
- public static string RingtoetsMacroStabilityInwardsSurfaceLineCollection_SourcePath_Description {
+ public static string MacroStabilityInwardsSurfaceLineSelectionDialog_Select_SurfaceLines {
get {
- return ResourceManager.GetString("RingtoetsMacroStabilityInwardsSurfaceLineCollection_SourcePath_Description", resourceCulture);
+ return ResourceManager.GetString("MacroStabilityInwardsSurfaceLineSelectionDialog_Select_SurfaceLines", resourceCulture);
}
}
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Properties/Resources.resx
===================================================================
diff -u -r42589a013431937bdf0165af5fda1228d235629a -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Properties/Resources.resx (.../Resources.resx) (revision 42589a013431937bdf0165af5fda1228d235629a)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Properties/Resources.resx (.../Resources.resx) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -253,7 +253,7 @@
De verschillende opbouwen van de ondergrond en hun respectieve kansen van voorkomen.
-
+
Geen ondergrondschematisaties gevonden voor profielschematisatie '{0}'. De profielschematisatie is overgeslagen.
@@ -292,7 +292,7 @@
Is aquifer
-
+
De locatie van het bestand waaruit de profielschematisaties zijn geïmporteerd.
\ No newline at end of file
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsInputContextProperties.cs
===================================================================
diff -u -rb04ee63f77708d3e30dd18f07dbb8ab31d548edb -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsInputContextProperties.cs (.../MacroStabilityInwardsInputContextProperties.cs) (revision b04ee63f77708d3e30dd18f07dbb8ab31d548edb)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsInputContextProperties.cs (.../MacroStabilityInwardsInputContextProperties.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -83,7 +83,7 @@
///
/// Gets the available surface lines on .
///
- public IEnumerable GetAvailableSurfaceLines()
+ public IEnumerable GetAvailableSurfaceLines()
{
return data.AvailableMacroStabilityInwardsSurfaceLines;
}
@@ -207,7 +207,7 @@
[ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Schematization))]
[ResourcesDisplayName(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.SurfaceLine_DisplayName))]
[ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.SurfaceLine_Description))]
- public RingtoetsMacroStabilityInwardsSurfaceLine SurfaceLine
+ public MacroStabilityInwardsSurfaceLine SurfaceLine
{
get
{
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsSurfaceLineCollectionProperties.cs
===================================================================
diff -u
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsSurfaceLineCollectionProperties.cs (revision 0)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsSurfaceLineCollectionProperties.cs (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -0,0 +1,62 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using Core.Common.Gui.PropertyBag;
+using Core.Common.Utils.Attributes;
+using Ringtoets.MacroStabilityInwards.Data;
+using Ringtoets.MacroStabilityInwards.Forms.Properties;
+using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources;
+
+namespace Ringtoets.MacroStabilityInwards.Forms.PropertyClasses
+{
+ ///
+ /// ViewModel of for properties panel.
+ ///
+ public class MacroStabilityInwardsSurfaceLineCollectionProperties : ObjectProperties
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The collection for which the properties are shown.
+ /// Thrown when
+ /// is null.
+ public MacroStabilityInwardsSurfaceLineCollectionProperties(MacroStabilityInwardsSurfaceLineCollection collection)
+ {
+ if (collection == null)
+ {
+ throw new ArgumentNullException(nameof(collection));
+ }
+ data = collection;
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_General))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.ObservableCollectionWithSourcePath_SourcePath_DisplayName))]
+ [ResourcesDescription(typeof(Resources), nameof(Resources.MacroStabilityInwardsSurfaceLineCollection_SourcePath_Description))]
+ public string SourcePath
+ {
+ get
+ {
+ return data.SourcePath;
+ }
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsSurfaceLineProperties.cs
===================================================================
diff -u
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsSurfaceLineProperties.cs (revision 0)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsSurfaceLineProperties.cs (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -0,0 +1,207 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.Linq;
+using Core.Common.Base.Geometry;
+using Core.Common.Gui.Converters;
+using Core.Common.Gui.PropertyBag;
+using Core.Common.Utils.Attributes;
+using Ringtoets.MacroStabilityInwards.Forms.Properties;
+using Ringtoets.MacroStabilityInwards.Primitives;
+using TypeConverter = System.ComponentModel.TypeConverterAttribute;
+using RingtoetsCommonDataResources = Ringtoets.Common.Data.Properties.Resources;
+using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources;
+
+namespace Ringtoets.MacroStabilityInwards.Forms.PropertyClasses
+{
+ ///
+ /// ViewModel of for properties panel.
+ ///
+ [ResourcesDisplayName(typeof(Resources), nameof(RingtoetsCommonFormsResources.SurfaceLine_DisplayName))]
+ public class MacroStabilityInwardsSurfaceLineProperties : ObjectProperties
+ {
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_General))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.SurfaceLine_Name_DisplayName))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.SurfaceLine_Name_Description))]
+ public string Name
+ {
+ get
+ {
+ return data.Name;
+ }
+ }
+
+ [TypeConverter(typeof(ExpandableArrayConverter))]
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_General))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.SurfaceLine_Points_DisplayName))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.SurfaceLine_Points_Description))]
+ public Point3D[] Points
+ {
+ get
+ {
+ return data.Points.ToArray();
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_SurfaceLevelOutside))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_SurfaceLevelOutside_Description))]
+ public Point3D SurfaceLevelOutside
+ {
+ get
+ {
+ return data.SurfaceLevelOutside;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_DikeToeAtRiver))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_DikeToeAtRiver_Description))]
+ public Point3D DikeToeAtRiver
+ {
+ get
+ {
+ return data.DikeToeAtRiver;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_TrafficLoadOutside))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_TrafficLoadOutside_Description))]
+ public Point3D TrafficLoadOutside
+ {
+ get
+ {
+ return data.TrafficLoadOutside;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_TrafficLoadInside))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_TrafficLoadInside_Description))]
+ public Point3D TrafficLoadInside
+ {
+ get
+ {
+ return data.TrafficLoadInside;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_DikeTopAtPolder))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_DikeTopAtPolder_Description))]
+ public Point3D DikeTopAtPolder
+ {
+ get
+ {
+ return data.DikeTopAtPolder;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_ShoulderBaseInside))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_ShoulderBaseInside_Description))]
+ public Point3D ShoulderBaseInside
+ {
+ get
+ {
+ return data.ShoulderBaseInside;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_ShoulderTopInside))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_ShoulderTopInside_Description))]
+ public Point3D ShoulderTopInside
+ {
+ get
+ {
+ return data.ShoulderTopInside;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_DikeToeAtPolder))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_DikeToeAtPolder_Description))]
+ public Point3D DikeToeAtPolder
+ {
+ get
+ {
+ return data.DikeToeAtPolder;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_DitchDikeSide))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_DitchDikeSide_Description))]
+ public Point3D DitchDikeSide
+ {
+ get
+ {
+ return data.DitchDikeSide;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_BottomDitchDikeSide))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_BottomDitchDikeSide_Description))]
+ public Point3D BottomDitchDikeSide
+ {
+ get
+ {
+ return data.BottomDitchDikeSide;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_BottomDitchPolderSide))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_BottomDitchPolderSide_Description))]
+ public Point3D BottomDitchPolderSide
+ {
+ get
+ {
+ return data.BottomDitchPolderSide;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_DitchPolderSide))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_DitchPolderSide_Description))]
+ public Point3D DitchPolderSide
+ {
+ get
+ {
+ return data.DitchPolderSide;
+ }
+ }
+
+ [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_Characteristic_points))]
+ [ResourcesDisplayName(typeof(RingtoetsCommonDataResources), nameof(RingtoetsCommonDataResources.CharacteristicPoint_SurfaceLevelInside))]
+ [ResourcesDescription(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.CharacteristicPoint_SurfaceLevelInside_Description))]
+ public Point3D SurfaceLevelInside
+ {
+ get
+ {
+ return data.SurfaceLevelInside;
+ }
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213 refers to a dead (removed) revision in file `Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/RingtoetsMacroStabilityInwardsSurfaceLineCollectionProperties.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213 refers to a dead (removed) revision in file `Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/RingtoetsMacroStabilityInwardsSurfaceLineProperties.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Ringtoets.MacroStabilityInwards.Forms.csproj
===================================================================
diff -u -r015737b4977d3a180f8a962ceeb24e6814227316 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Ringtoets.MacroStabilityInwards.Forms.csproj (.../Ringtoets.MacroStabilityInwards.Forms.csproj) (revision 015737b4977d3a180f8a962ceeb24e6814227316)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Ringtoets.MacroStabilityInwards.Forms.csproj (.../Ringtoets.MacroStabilityInwards.Forms.csproj) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -57,7 +57,7 @@
-
+
@@ -68,10 +68,10 @@
-
+
-
+
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/UITypeEditors/MacroStabilityInwardsInputContextSurfaceLineSelectionEditor.cs
===================================================================
diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/UITypeEditors/MacroStabilityInwardsInputContextSurfaceLineSelectionEditor.cs (.../MacroStabilityInwardsInputContextSurfaceLineSelectionEditor.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/UITypeEditors/MacroStabilityInwardsInputContextSurfaceLineSelectionEditor.cs (.../MacroStabilityInwardsInputContextSurfaceLineSelectionEditor.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -29,24 +29,24 @@
{
///
/// This class defines a drop down list edit-control from which the user can select a
- /// from a collection.
+ /// from a collection.
///
- public class MacroStabilityInwardsInputContextSurfaceLineSelectionEditor : SelectionEditor
+ public class MacroStabilityInwardsInputContextSurfaceLineSelectionEditor : SelectionEditor
{
///
/// Creates a new instance of .
///
public MacroStabilityInwardsInputContextSurfaceLineSelectionEditor()
{
- DisplayMember = nameof(RingtoetsMacroStabilityInwardsSurfaceLine.Name);
+ DisplayMember = nameof(MacroStabilityInwardsSurfaceLine.Name);
}
- protected override IEnumerable GetAvailableOptions(ITypeDescriptorContext context)
+ protected override IEnumerable GetAvailableOptions(ITypeDescriptorContext context)
{
return GetPropertiesObject(context).GetAvailableSurfaceLines();
}
- protected override RingtoetsMacroStabilityInwardsSurfaceLine GetCurrentOption(ITypeDescriptorContext context)
+ protected override MacroStabilityInwardsSurfaceLine GetCurrentOption(ITypeDescriptorContext context)
{
return GetPropertiesObject(context).SurfaceLine;
}
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsCalculationsView.cs
===================================================================
diff -u -r67e77262b9f0f183db81f8c95d7b12aa5fcdb8e9 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsCalculationsView.cs (.../MacroStabilityInwardsCalculationsView.cs) (revision 67e77262b9f0f183db81f8c95d7b12aa5fcdb8e9)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsCalculationsView.cs (.../MacroStabilityInwardsCalculationsView.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -56,7 +56,7 @@
private readonly RecursiveObserver calculationGroupObserver;
private readonly RecursiveObserver calculationObserver;
private readonly Observer failureMechanismObserver;
- private readonly RecursiveObserver surfaceLineObserver;
+ private readonly RecursiveObserver surfaceLineObserver;
private readonly Observer stochasticSoilModelsObserver;
private readonly RecursiveObserver stochasticSoilProfileObserver;
private IAssessmentSection assessmentSection;
@@ -81,7 +81,7 @@
calculationGroupObserver = new RecursiveObserver(UpdateDataGridViewDataSource, cg => cg.Children);
calculationObserver = new RecursiveObserver(dataGridViewControl.RefreshDataGridView, cg => cg.Children);
- surfaceLineObserver = new RecursiveObserver(UpdateDataGridViewDataSource, rpslc => rpslc);
+ surfaceLineObserver = new RecursiveObserver(UpdateDataGridViewDataSource, rpslc => rpslc);
stochasticSoilModelsObserver = new Observer(OnStochasticSoilModelsUpdate);
stochasticSoilProfileObserver = new RecursiveObserver(dataGridViewControl.RefreshDataGridView, ssmc => ssmc.SelectMany(ssm => ssm.StochasticSoilProfiles));
@@ -273,7 +273,7 @@
}
private static IEnumerable GetSelectableHydraulicBoundaryLocations(
- IEnumerable hydraulicBoundaryLocations, RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ IEnumerable hydraulicBoundaryLocations, MacroStabilityInwardsSurfaceLine surfaceLine)
{
Point2D referencePoint = surfaceLine?.ReferenceLineIntersectionWorldPoint;
return SelectableHydraulicBoundaryLocationHelper.GetSortedSelectableHydraulicBoundaryLocations(
@@ -536,7 +536,7 @@
return selectableHydraulicBoundaryLocations;
}
- foreach (RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine in MacroStabilityInwardsFailureMechanism.SurfaceLines)
+ foreach (MacroStabilityInwardsSurfaceLine surfaceLine in MacroStabilityInwardsFailureMechanism.SurfaceLines)
{
selectableHydraulicBoundaryLocations.AddRange(GetSelectableHydraulicBoundaryLocations(hydraulicBoundaryLocations, surfaceLine));
}
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsFailureMechanismView.cs
===================================================================
diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsFailureMechanismView.cs (.../MacroStabilityInwardsFailureMechanismView.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsFailureMechanismView.cs (.../MacroStabilityInwardsFailureMechanismView.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -52,7 +52,7 @@
private readonly RecursiveObserver calculationInputObserver;
private readonly RecursiveObserver calculationGroupObserver;
private readonly RecursiveObserver calculationObserver;
- private readonly RecursiveObserver surfaceLineObserver;
+ private readonly RecursiveObserver surfaceLineObserver;
private readonly MapDataCollection mapDataCollection;
private readonly MapLineData referenceLineMapData;
@@ -91,7 +91,7 @@
UpdateCalculationsMapData, pcg => pcg.Children.Concat
/// The calculation read from the imported file.
/// The calculation to configure.
- /// false when the has a
+ /// false when the has a
/// set which is not available in , true otherwise.
private bool TrySetSurfaceLine(MacroStabilityInwardsCalculationConfiguration calculationConfiguration,
MacroStabilityInwardsCalculationScenario macroStabilityInwardsCalculation)
{
if (calculationConfiguration.SurfaceLineName != null)
{
- RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine = failureMechanism.SurfaceLines
+ MacroStabilityInwardsSurfaceLine surfaceLine = failureMechanism.SurfaceLines
.FirstOrDefault(sl => sl.Name == calculationConfiguration.SurfaceLineName);
if (surfaceLine == null)
@@ -170,7 +170,7 @@
///
/// the has a set
/// which is not available in the failure mechanism.
- /// The does not intersect with the
+ /// The does not intersect with the
/// when this is set.
///
/// true otherwise.
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Importers/MacroStabilityInwardsSurfaceLineExtensions.cs
===================================================================
diff -u -rb2d6fb0b948754d598692e76e2dc1a25b311d7e7 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Importers/MacroStabilityInwardsSurfaceLineExtensions.cs (.../MacroStabilityInwardsSurfaceLineExtensions.cs) (revision b2d6fb0b948754d598692e76e2dc1a25b311d7e7)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Importers/MacroStabilityInwardsSurfaceLineExtensions.cs (.../MacroStabilityInwardsSurfaceLineExtensions.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -31,7 +31,7 @@
namespace Ringtoets.MacroStabilityInwards.IO.Importers
{
///
- /// Extension methods for the class.
+ /// Extension methods for the class.
///
public static class MacroStabilityInwardsSurfaceLineExtensions
{
@@ -46,7 +46,7 @@
/// Thrown when is null.
/// Thrown when a mandatory characteristic point is not
/// present or not on the given .
- public static void SetCharacteristicPoints(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, CharacteristicPoints characteristicPoints)
+ public static void SetCharacteristicPoints(this MacroStabilityInwardsSurfaceLine surfaceLine, CharacteristicPoints characteristicPoints)
{
if (surfaceLine == null)
{
@@ -75,13 +75,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetDitchPolderSide(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetDitchPolderSide(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -97,13 +97,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetBottomDitchPolderSide(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetBottomDitchPolderSide(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -119,13 +119,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetBottomDitchDikeSide(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetBottomDitchDikeSide(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -141,13 +141,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetDitchDikeSide(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetDitchDikeSide(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -163,15 +163,15 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
/// Thrown when is null or
/// not on the .
- private static void TrySetSurfaceLevelInside(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ private static void TrySetSurfaceLevelInside(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
try
{
@@ -188,15 +188,15 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
/// Thrown when is null or
/// not on the .
- private static void TrySetSurfaceLevelOutside(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ private static void TrySetSurfaceLevelOutside(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
try
{
@@ -213,15 +213,15 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
/// Thrown when is null or
/// not on the .
- private static void TrySetDikeTopAtPolder(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ private static void TrySetDikeTopAtPolder(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
try
{
@@ -238,13 +238,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetShoulderBaseInside(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetShoulderBaseInside(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -260,13 +260,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetShoulderTopInside(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetShoulderTopInside(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -282,13 +282,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetTrafficLoadInside(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetTrafficLoadInside(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -304,13 +304,13 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
- private static void TrySetTrafficLoadOutside(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
+ private static void TrySetTrafficLoadOutside(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
if (point != null)
{
@@ -326,15 +326,15 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
/// Thrown when is null or
/// not on the .
- private static void TrySetDikeToeAtRiver(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ private static void TrySetDikeToeAtRiver(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
try
{
@@ -351,15 +351,15 @@
}
///
- /// Tries to set the at the location of
+ /// Tries to set the at the location of
/// .
///
- /// The to set the
- /// for.
- /// The point at which to set the .
+ /// The to set the
+ /// for.
+ /// The point at which to set the .
/// Thrown when is null or
/// not on the .
- private static void TrySetDikeToeAtPolder(this RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
+ private static void TrySetDikeToeAtPolder(this MacroStabilityInwardsSurfaceLine surfaceLine, Point3D point)
{
try
{
@@ -375,7 +375,7 @@
}
}
- private static void LogOptionalCharacteristicPointError(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine, ArgumentException e)
+ private static void LogOptionalCharacteristicPointError(MacroStabilityInwardsSurfaceLine surfaceLine, ArgumentException e)
{
log.ErrorFormat(RingtoetsCommonIoResources.SurfaceLinesCsvImporter_CharacteristicPoint_of_SurfaceLine_0_skipped_cause_1_,
surfaceLine.Name,
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Importers/MacroStabilityInwardsSurfaceLineTransformer.cs
===================================================================
diff -u -rdf853f988ad99b935860c361bc000f6aba9876a7 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Importers/MacroStabilityInwardsSurfaceLineTransformer.cs (.../MacroStabilityInwardsSurfaceLineTransformer.cs) (revision df853f988ad99b935860c361bc000f6aba9876a7)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Importers/MacroStabilityInwardsSurfaceLineTransformer.cs (.../MacroStabilityInwardsSurfaceLineTransformer.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -28,9 +28,9 @@
namespace Ringtoets.MacroStabilityInwards.IO.Importers
{
///
- /// Transforms generic into macro stability specific .
+ /// Transforms generic into macro stability specific .
///
- public class MacroStabilityInwardsSurfaceLineTransformer : ISurfaceLineTransformer
+ public class MacroStabilityInwardsSurfaceLineTransformer : ISurfaceLineTransformer
{
private readonly ReferenceLine referenceLine;
@@ -49,11 +49,11 @@
this.referenceLine = referenceLine;
}
- public RingtoetsMacroStabilityInwardsSurfaceLine Transform(SurfaceLine surfaceLine, CharacteristicPoints characteristicPoints)
+ public MacroStabilityInwardsSurfaceLine Transform(SurfaceLine surfaceLine, CharacteristicPoints characteristicPoints)
{
Point2D intersectionPoint = surfaceLine.GetSingleReferenceLineInterSection(referenceLine);
- var macroStabilityInwardsSurfaceLine = new RingtoetsMacroStabilityInwardsSurfaceLine
+ var macroStabilityInwardsSurfaceLine = new MacroStabilityInwardsSurfaceLine
{
Name = surfaceLine.Name
};
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculatorInput.cs
===================================================================
diff -u -rd47809e3a8fadff2be5b10056b79b16dc27eeca2 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculatorInput.cs (.../MacroStabilityInwardsCalculatorInput.cs) (revision d47809e3a8fadff2be5b10056b79b16dc27eeca2)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculatorInput.cs (.../MacroStabilityInwardsCalculatorInput.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -70,7 +70,7 @@
///
/// Gets the surface line.
///
- public RingtoetsMacroStabilityInwardsSurfaceLine SurfaceLine { internal get; set; }
+ public MacroStabilityInwardsSurfaceLine SurfaceLine { internal get; set; }
///
/// Gets the profile which contains a 1 dimensional definition of soil layers with properties.
@@ -91,7 +91,7 @@
///
/// Gets the surface line.
///
- public RingtoetsMacroStabilityInwardsSurfaceLine SurfaceLine { get; private set; }
+ public MacroStabilityInwardsSurfaceLine SurfaceLine { get; private set; }
///
/// Gets the profile which contains a 1 dimensional definition of soil layers with properties.
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/MacroStabilityInwardsSurfaceLineReplaceDataStrategy.cs
===================================================================
diff -u -ra940166534b3dd6e778de2e7c8e7e5241f3d3381 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/MacroStabilityInwardsSurfaceLineReplaceDataStrategy.cs (.../MacroStabilityInwardsSurfaceLineReplaceDataStrategy.cs) (revision a940166534b3dd6e778de2e7c8e7e5241f3d3381)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/MacroStabilityInwardsSurfaceLineReplaceDataStrategy.cs (.../MacroStabilityInwardsSurfaceLineReplaceDataStrategy.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -33,8 +33,8 @@
///
/// A to replace the surface lines with the imported surface lines.
///
- public class MacroStabilityInwardsSurfaceLineReplaceDataStrategy : ReplaceDataStrategyBase,
- ISurfaceLineUpdateDataStrategy
+ public class MacroStabilityInwardsSurfaceLineReplaceDataStrategy : ReplaceDataStrategyBase,
+ ISurfaceLineUpdateDataStrategy
{
///
/// Creates a new instance of .
@@ -44,7 +44,7 @@
public MacroStabilityInwardsSurfaceLineReplaceDataStrategy(MacroStabilityInwardsFailureMechanism failureMechanism)
: base(failureMechanism, failureMechanism?.SurfaceLines) {}
- public IEnumerable UpdateSurfaceLinesWithImportedData(IEnumerable readSurfaceLines,
+ public IEnumerable UpdateSurfaceLinesWithImportedData(IEnumerable readSurfaceLines,
string sourceFilePath)
{
return ReplaceTargetCollectionWithImportedData(readSurfaceLines, sourceFilePath);
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/MacroStabilityInwardsSurfaceLineUpdateDataStrategy.cs
===================================================================
diff -u -ra940166534b3dd6e778de2e7c8e7e5241f3d3381 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/MacroStabilityInwardsSurfaceLineUpdateDataStrategy.cs (.../MacroStabilityInwardsSurfaceLineUpdateDataStrategy.cs) (revision a940166534b3dd6e778de2e7c8e7e5241f3d3381)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/MacroStabilityInwardsSurfaceLineUpdateDataStrategy.cs (.../MacroStabilityInwardsSurfaceLineUpdateDataStrategy.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -36,47 +36,47 @@
///
/// An for updating surface lines based on imported data.
///
- public class MacroStabilityInwardsSurfaceLineUpdateDataStrategy : UpdateDataStrategyBase,
- ISurfaceLineUpdateDataStrategy
+ public class MacroStabilityInwardsSurfaceLineUpdateDataStrategy : UpdateDataStrategyBase,
+ ISurfaceLineUpdateDataStrategy
{
///
/// Creates a new instance of .
///
/// The failure mechanism in which the surface lines are updated.
/// Thrown when is null.
public MacroStabilityInwardsSurfaceLineUpdateDataStrategy(MacroStabilityInwardsFailureMechanism failureMechanism)
- : base(failureMechanism, failureMechanism?.SurfaceLines, new RingtoetsMacroStabilityInwardsSurfaceLineNameEqualityComparer()) {}
+ : base(failureMechanism, failureMechanism?.SurfaceLines, new MacroStabilityInwardsSurfaceLineNameEqualityComparer()) {}
- public IEnumerable UpdateSurfaceLinesWithImportedData(IEnumerable surfaceLines, string sourceFilePath)
+ public IEnumerable UpdateSurfaceLinesWithImportedData(IEnumerable surfaceLines, string sourceFilePath)
{
return UpdateTargetCollectionData(surfaceLines, sourceFilePath);
}
- protected override IEnumerable RemoveObjectAndDependentData(RingtoetsMacroStabilityInwardsSurfaceLine removedSurfaceLine)
+ protected override IEnumerable RemoveObjectAndDependentData(MacroStabilityInwardsSurfaceLine removedSurfaceLine)
{
return MacroStabilityInwardsDataSynchronizationService.RemoveSurfaceLine(FailureMechanism, removedSurfaceLine);
}
///
- /// Class for comparing by only the name.
+ /// Class for comparing by only the name.
///
- private class RingtoetsMacroStabilityInwardsSurfaceLineNameEqualityComparer : IEqualityComparer
+ private class MacroStabilityInwardsSurfaceLineNameEqualityComparer : IEqualityComparer
{
- public bool Equals(RingtoetsMacroStabilityInwardsSurfaceLine x, RingtoetsMacroStabilityInwardsSurfaceLine y)
+ public bool Equals(MacroStabilityInwardsSurfaceLine x, MacroStabilityInwardsSurfaceLine y)
{
return x.Name == y.Name;
}
- public int GetHashCode(RingtoetsMacroStabilityInwardsSurfaceLine obj)
+ public int GetHashCode(MacroStabilityInwardsSurfaceLine obj)
{
return obj.Name.GetHashCode();
}
}
#region Updating Data Functions
- protected override IEnumerable UpdateObjectAndDependentData(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLineToUpdate,
- RingtoetsMacroStabilityInwardsSurfaceLine matchingSurfaceLine)
+ protected override IEnumerable UpdateObjectAndDependentData(MacroStabilityInwardsSurfaceLine surfaceLineToUpdate,
+ MacroStabilityInwardsSurfaceLine matchingSurfaceLine)
{
surfaceLineToUpdate.CopyProperties(matchingSurfaceLine);
@@ -88,7 +88,7 @@
return affectedObjects;
}
- private IEnumerable UpdateSurfaceLineDependentData(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ private IEnumerable UpdateSurfaceLineDependentData(MacroStabilityInwardsSurfaceLine surfaceLine)
{
IEnumerable affectedCalculations = GetAffectedCalculationWithSurfaceLine(surfaceLine);
@@ -100,7 +100,7 @@
return affectedObjects;
}
- private IEnumerable UpdateStochasticSoilModel(RingtoetsMacroStabilityInwardsSurfaceLine updatedSurfaceLine)
+ private IEnumerable UpdateStochasticSoilModel(MacroStabilityInwardsSurfaceLine updatedSurfaceLine)
{
IEnumerable calculationsToUpdate = GetAffectedCalculationWithSurfaceLine(updatedSurfaceLine);
@@ -117,7 +117,7 @@
return affectedObjects;
}
- private IEnumerable GetAffectedCalculationWithSurfaceLine(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ private IEnumerable GetAffectedCalculationWithSurfaceLine(MacroStabilityInwardsSurfaceLine surfaceLine)
{
IEnumerable affectedCalculations =
FailureMechanism.Calculations
@@ -126,7 +126,7 @@
return affectedCalculations;
}
- private IEnumerable GetAvailableStochasticSoilModels(RingtoetsMacroStabilityInwardsSurfaceLine surfaceLine)
+ private IEnumerable GetAvailableStochasticSoilModels(MacroStabilityInwardsSurfaceLine surfaceLine)
{
return MacroStabilityInwardsCalculationConfigurationHelper.GetStochasticSoilModelsForSurfaceLine(surfaceLine,
FailureMechanism.StochasticSoilModels);
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/SurfaceLinesCsvImporterConfigurationFactory.cs
===================================================================
diff -u -rdf853f988ad99b935860c361bc000f6aba9876a7 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/SurfaceLinesCsvImporterConfigurationFactory.cs (.../SurfaceLinesCsvImporterConfigurationFactory.cs) (revision df853f988ad99b935860c361bc000f6aba9876a7)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/SurfaceLinesCsvImporterConfigurationFactory.cs (.../SurfaceLinesCsvImporterConfigurationFactory.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -38,9 +38,9 @@
/// The failure mechanism to replace the surface lines for.
/// The reference line to use for matching imported surface lines on.
/// The configuration for the replace operation.
- public static SurfaceLinesCsvImporterConfiguration CreateReplaceStrategyConfiguration(MacroStabilityInwardsFailureMechanism failureMechanism, ReferenceLine referenceLine)
+ public static SurfaceLinesCsvImporterConfiguration CreateReplaceStrategyConfiguration(MacroStabilityInwardsFailureMechanism failureMechanism, ReferenceLine referenceLine)
{
- return new SurfaceLinesCsvImporterConfiguration(
+ return new SurfaceLinesCsvImporterConfiguration(
new MacroStabilityInwardsSurfaceLineTransformer(referenceLine),
new MacroStabilityInwardsSurfaceLineReplaceDataStrategy(failureMechanism));
}
@@ -51,9 +51,9 @@
/// The failure mechanism to update the surface lines for.
/// The reference line to use for matching imported surface lines on.
/// The configuration for the update operation.
- public static SurfaceLinesCsvImporterConfiguration CreateUpdateStrategyConfiguration(MacroStabilityInwardsFailureMechanism failureMechanism, ReferenceLine referenceLine)
+ public static SurfaceLinesCsvImporterConfiguration CreateUpdateStrategyConfiguration(MacroStabilityInwardsFailureMechanism failureMechanism, ReferenceLine referenceLine)
{
- return new SurfaceLinesCsvImporterConfiguration(
+ return new SurfaceLinesCsvImporterConfiguration(
new MacroStabilityInwardsSurfaceLineTransformer(referenceLine),
new MacroStabilityInwardsSurfaceLineUpdateDataStrategy(failureMechanism));
}
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/MacroStabilityInwardsPlugin.cs
===================================================================
diff -u -rcfe30fb624bcc031454e7ff22e333386ed6ead87 -rcd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/MacroStabilityInwardsPlugin.cs (.../MacroStabilityInwardsPlugin.cs) (revision cfe30fb624bcc031454e7ff22e333386ed6ead87)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/MacroStabilityInwardsPlugin.cs (.../MacroStabilityInwardsPlugin.cs) (revision cd90ebf744fb74f0d4b0dd6ee06f9c39b5faf213)
@@ -75,11 +75,11 @@
CreateInstance = context => new MacroStabilityInwardsInputContextProperties(context, new ObservablePropertyChangeHandler(context.MacroStabilityInwardsCalculation, context.WrappedData))
};
yield return new PropertyInfo();
- yield return new PropertyInfo
+ yield return new PropertyInfo
{
- CreateInstance = context => new RingtoetsMacroStabilityInwardsSurfaceLineCollectionProperties(context.WrappedData)
+ CreateInstance = context => new MacroStabilityInwardsSurfaceLineCollectionProperties(context.WrappedData)
};
- yield return new PropertyInfo();
+ yield return new PropertyInfo();
yield return new PropertyInfo
{
CreateInstance = context => new StochasticSoilModelCollectionProperties(context.WrappedData)
@@ -90,14 +90,14 @@
public override IEnumerable GetImportInfos()
{
- yield return new ImportInfo
+ yield return new ImportInfo
{
Name = RingtoetsCommonDataResources.SurfaceLineCollection_TypeDescriptor,
Category = RingtoetsCommonFormsResources.Ringtoets_Category,
Image = MacroStabilityInwardsFormsResources.SurfaceLineIcon,
FileFilterGenerator = SurfaceLineFileFilter,
IsEnabled = context => context.AssessmentSection.ReferenceLine != null,
- CreateFileImporter = (context, filePath) => new SurfaceLinesCsvImporter(
+ CreateFileImporter = (context, filePath) => new SurfaceLinesCsvImporter(
context.WrappedData,
filePath,
new ImportMessageProvider(),
@@ -140,15 +140,15 @@
public override IEnumerable GetUpdateInfos()
{
- yield return new UpdateInfo
+ yield return new UpdateInfo
{
Name = RingtoetsCommonDataResources.SurfaceLineCollection_TypeDescriptor,
Category = RingtoetsCommonFormsResources.Ringtoets_Category,
Image = MacroStabilityInwardsFormsResources.SurfaceLineIcon,
FileFilterGenerator = SurfaceLineFileFilter,
IsEnabled = context => context.WrappedData.SourcePath != null,
CurrentPath = context => context.WrappedData.SourcePath,
- CreateFileImporter = (context, filePath) => new SurfaceLinesCsvImporter(
+ CreateFileImporter = (context, filePath) => new SurfaceLinesCsvImporter(
context.WrappedData,
filePath,
new UpdateMessageProvider(),
@@ -265,16 +265,16 @@
.Build()
};
- yield return new TreeNodeInfo
+ yield return new TreeNodeInfo
{
Text = context => RingtoetsCommonDataResources.SurfaceLineCollection_TypeDescriptor,
Image = context => RingtoetsCommonFormsResources.GeneralFolderIcon,
ForeColor = context => context.WrappedData.Any() ? Color.FromKnownColor(KnownColor.ControlText) : Color.FromKnownColor(KnownColor.GrayText),
ChildNodeObjects = context => context.WrappedData.Cast