Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Utils/GrassCoverErosionInwardsHelper.cs
===================================================================
diff -u -r6e8c6c477eeb8e8f935a858ae1d30aafc5318b05 -r277b68e1c58f97f527567f5500be6bc39efacd97
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Utils/GrassCoverErosionInwardsHelper.cs (.../GrassCoverErosionInwardsHelper.cs) (revision 6e8c6c477eeb8e8f935a858ae1d30aafc5318b05)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Utils/GrassCoverErosionInwardsHelper.cs (.../GrassCoverErosionInwardsHelper.cs) (revision 277b68e1c58f97f527567f5500be6bc39efacd97)
@@ -21,6 +21,7 @@
using System;
using System.Collections.Generic;
+using Ringtoets.Common.Data.Calculation;
using Ringtoets.Common.Data.FailureMechanism;
using Ringtoets.Common.Utils;
using Ringtoets.GrassCoverErosionInwards.Data;
@@ -43,7 +44,7 @@
/// of objects
/// for each section name which has calculations.
/// When any input parameter is null.
- public static Dictionary> CollectCalculationsPerSegment(
+ public static Dictionary> CollectCalculationsPerSegment(
IEnumerable sections,
IEnumerable calculations)
{
@@ -59,7 +60,7 @@
SectionSegments[] sectionSegments = SectionSegmentsHelper.MakeSectionSegments(sections);
- var calculationsPerSegment = new Dictionary>();
+ var calculationsPerSegment = new Dictionary>();
foreach (var calculation in calculations)
{
@@ -110,12 +111,12 @@
: null;
}
- private static void UpdateCalculationsOfSegment(Dictionary> calculationsPerSegment,
+ private static void UpdateCalculationsOfSegment(Dictionary> calculationsPerSegment,
string sectionName, GrassCoverErosionInwardsCalculation calculation)
{
if (!calculationsPerSegment.ContainsKey(sectionName))
{
- calculationsPerSegment.Add(sectionName, new List());
+ calculationsPerSegment.Add(sectionName, new List());
}
calculationsPerSegment[sectionName].Add(calculation);
}