Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilLayer2D.cs
===================================================================
diff -u -rcbb43f0461395479263e3245f2f3f136d1d07d00 -r8d152cd9d429b55794192755b8764b3f1e4882bf
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilLayer2D.cs (.../SoilLayer2D.cs) (revision cbb43f0461395479263e3245f2f3f136d1d07d00)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/SoilLayer2D.cs (.../SoilLayer2D.cs) (revision 8d152cd9d429b55794192755b8764b3f1e4882bf)
@@ -33,22 +33,22 @@
/// Creates a new instance of .
///
/// The outer loop of the soil layer.
- /// The inner loops of the soil layer.
+ /// The nested layers of the soil layer.
/// Thrown when any input parameter is null.
- public SoilLayer2D(SoilLayer2DLoop outerLoop, IEnumerable innerLoops)
+ public SoilLayer2D(SoilLayer2DLoop outerLoop, IEnumerable nestedLayers)
{
if (outerLoop == null)
{
throw new ArgumentNullException(nameof(outerLoop));
}
- if (innerLoops == null)
+ if (nestedLayers == null)
{
- throw new ArgumentNullException(nameof(innerLoops));
+ throw new ArgumentNullException(nameof(nestedLayers));
}
OuterLoop = outerLoop;
- InnerLoops = innerLoops;
+ NestedLayers = nestedLayers;
}
///
@@ -57,13 +57,8 @@
public SoilLayer2DLoop OuterLoop { get; }
///
- /// Gets the inner loops of the soil layer.
+ /// Gets the nested layers of the soil layer.
///
- public IEnumerable InnerLoops { get; }
-
- ///
- /// Gets or sets any nested layers.
- ///
- public IEnumerable NestedLayers { get; set; }
+ public IEnumerable NestedLayers { get; }
}
}
\ No newline at end of file