Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Utils/GrassCoverErosionInwardsHelper.cs
===================================================================
diff -u -r4dcf687d02ad303a8b830cd11c7d15a6f3f25116 -r02670d8c9fceeaea5f829937a2eb269f3488c6b1
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Utils/GrassCoverErosionInwardsHelper.cs (.../GrassCoverErosionInwardsHelper.cs) (revision 4dcf687d02ad303a8b830cd11c7d15a6f3f25116)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Utils/GrassCoverErosionInwardsHelper.cs (.../GrassCoverErosionInwardsHelper.cs) (revision 02670d8c9fceeaea5f829937a2eb269f3488c6b1)
@@ -37,27 +37,27 @@
///
/// Determine which objects are available for a .
///
- /// The objects.
+ /// The objects.
/// The objects.
/// A containing a
/// of objects
/// for each section name which has calculations.
/// When any input parameter is null.
public static Dictionary> CollectCalculationsPerSegment(
- IEnumerable sectionResults,
+ IEnumerable sections,
IEnumerable calculations)
{
- if (sectionResults == null)
+ if (sections == null)
{
- throw new ArgumentNullException("sectionResults");
+ throw new ArgumentNullException("sections");
}
if (calculations == null)
{
throw new ArgumentNullException("calculations");
}
- SectionSegments[] sectionSegments = MakeSectionSegments(sectionResults);
+ SectionSegments[] sectionSegments = MakeSectionSegments(sections);
var calculationsPerSegment = new Dictionary>();
@@ -77,33 +77,33 @@
///
/// Determine which geometrically contains the .
///
- /// The objects
+ /// The objects
/// whose are considered.
/// The .
/// The containing , or null.
/// When any input parameter is null.
public static FailureMechanismSection FailureMechanismSectionForCalculation(
- IEnumerable sectionResults,
+ IEnumerable sections,
GrassCoverErosionInwardsCalculation calculation)
{
- if (sectionResults == null)
+ if (sections == null)
{
- throw new ArgumentNullException("sectionResults");
+ throw new ArgumentNullException("sections");
}
if (calculation == null)
{
throw new ArgumentNullException("calculation");
}
- SectionSegments[] sectionSegments = MakeSectionSegments(sectionResults);
+ SectionSegments[] sectionSegments = MakeSectionSegments(sections);
return FindSectionForCalculation(sectionSegments, calculation);
}
- private static SectionSegments[] MakeSectionSegments(IEnumerable sectionResults)
+ private static SectionSegments[] MakeSectionSegments(IEnumerable sectionResults)
{
- return sectionResults.Select(sr => new SectionSegments(sr.Section)).ToArray();
+ return sectionResults.Select(s => new SectionSegments(s)).ToArray();
}
private static FailureMechanismSection FindSectionForCalculation(SectionSegments[] sectionSegmentsCollection, GrassCoverErosionInwardsCalculation calculation)