Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresScenarioRow.cs
===================================================================
diff -u -r560ea9f96409cc65f4666adf212a1c135c5e626f -r4006301a5ea5612278919daafc3ee69bb3e072b9
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresScenarioRow.cs (.../ClosingStructuresScenarioRow.cs) (revision 560ea9f96409cc65f4666adf212a1c135c5e626f)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresScenarioRow.cs (.../ClosingStructuresScenarioRow.cs) (revision 4006301a5ea5612278919daafc3ee69bb3e072b9)
@@ -27,19 +27,19 @@
namespace Ringtoets.ClosingStructures.Forms.Views
{
///
- /// Container of a for closing structures,
+ /// Container of a ,
/// which takes care of the representation of properties in a grid.
///
public class ClosingStructuresScenarioRow : IScenarioRow>
{
- private readonly StructuresFailureMechanismSectionResult sectionResult;
+ private readonly ClosingStructuresFailureMechanismSectionResult sectionResult;
///
/// Initializes a new instance of the class.
///
/// The section result.
/// Thrown when is null.
- public ClosingStructuresScenarioRow(StructuresFailureMechanismSectionResult sectionResult)
+ public ClosingStructuresScenarioRow(ClosingStructuresFailureMechanismSectionResult sectionResult)
{
if (sectionResult == null)
{
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresScenariosView.cs
===================================================================
diff -u -r16559315c0a64fffd05827d249200c62e353231f -r4006301a5ea5612278919daafc3ee69bb3e072b9
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresScenariosView.cs (.../ClosingStructuresScenariosView.cs) (revision 16559315c0a64fffd05827d249200c62e353231f)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresScenariosView.cs (.../ClosingStructuresScenariosView.cs) (revision 4006301a5ea5612278919daafc3ee69bb3e072b9)
@@ -120,7 +120,7 @@
{
scenarioSelectionControl.EndEdit();
- if (failureMechanism?.SectionResults == null || data?.Children == null)
+ if (failureMechanism?.SectionResults2 == null || data?.Children == null)
{
scenarioSelectionControl.ClearDataSource();
}
@@ -132,7 +132,7 @@
StructuresHelper.CollectCalculationsPerSection(failureMechanism.Sections,
calculations.Cast>());
- List scenarioRows = failureMechanism.SectionResults.Select(sr => new ClosingStructuresScenarioRow(sr)).ToList();
+ List scenarioRows = failureMechanism.SectionResults2.Select(sr => new ClosingStructuresScenarioRow(sr)).ToList();
scenarioSelectionControl.UpdateDataGridViewDataSource(calculations, scenarioRows, calculationsPerSegment);
}
Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresScenarioRowTest.cs
===================================================================
diff -u -r560ea9f96409cc65f4666adf212a1c135c5e626f -r4006301a5ea5612278919daafc3ee69bb3e072b9
--- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresScenarioRowTest.cs (.../ClosingStructuresScenarioRowTest.cs) (revision 560ea9f96409cc65f4666adf212a1c135c5e626f)
+++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/Views/ClosingStructuresScenarioRowTest.cs (.../ClosingStructuresScenarioRowTest.cs) (revision 4006301a5ea5612278919daafc3ee69bb3e072b9)
@@ -44,7 +44,7 @@
new Point2D(1.1, 2.2),
new Point2D(3.3, 4.4)
});
- var sectionResult = new StructuresFailureMechanismSectionResult(section);
+ var sectionResult = new ClosingStructuresFailureMechanismSectionResult(section);
// Call
var row = new ClosingStructuresScenarioRow(sectionResult);
@@ -75,7 +75,7 @@
new Point2D(1.1, 2.2),
new Point2D(3.3, 4.4)
});
- var sectionResult = new StructuresFailureMechanismSectionResult(section);
+ var sectionResult = new ClosingStructuresFailureMechanismSectionResult(section);
var row = new ClosingStructuresScenarioRow(sectionResult);
@@ -103,7 +103,7 @@
new Point2D(1.1, 2.2),
new Point2D(3.3, 4.4)
});
- var sectionResult = new StructuresFailureMechanismSectionResult(section);
+ var sectionResult = new ClosingStructuresFailureMechanismSectionResult(section);
sectionResult.Attach(observer);
var row = new ClosingStructuresScenarioRow(sectionResult);