Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Util/HeightStructuresHelper.cs
===================================================================
diff -u -rfd9e1dd4f143af493965eea4d564c087081fb7f7 -r33ce6fa967e380d4c68bd5f53acc189ab7f1e726
--- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Util/HeightStructuresHelper.cs (.../HeightStructuresHelper.cs) (revision fd9e1dd4f143af493965eea4d564c087081fb7f7)
+++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Util/HeightStructuresHelper.cs (.../HeightStructuresHelper.cs) (revision 33ce6fa967e380d4c68bd5f53acc189ab7f1e726)
@@ -33,7 +33,7 @@
/// Class holds helper methods to match objects
/// with objects.
///
- public class HeightStructuresHelper
+ public static class HeightStructuresHelper
{
///
/// Updates the for each element
@@ -50,9 +50,9 @@
throw new ArgumentNullException(nameof(failureMechanism));
}
- IObservableEnumerable sectionResults = failureMechanism.SectionResults2;
+ IObservableEnumerable sectionResults = failureMechanism.SectionResults;
IEnumerable> calculations = failureMechanism.Calculations
- .Cast>();
+ .Cast>();
return AssignUnassignCalculations.Update(sectionResults.Select(AsCalculationAssignment),
AsCalculationsWithLocations(calculations))
.Cast()
@@ -80,8 +80,8 @@
{
return new SectionResultWithCalculationAssignment(
failureMechanismSectionResult,
- result => ((HeightStructuresFailureMechanismSectionResult)result).Calculation,
- (result, calculation) => ((HeightStructuresFailureMechanismSectionResult)result).Calculation = (StructuresCalculation)calculation);
+ result => ((HeightStructuresFailureMechanismSectionResult) result).Calculation,
+ (result, calculation) => ((HeightStructuresFailureMechanismSectionResult) result).Calculation = (StructuresCalculation) calculation);
}
}
}
\ No newline at end of file