Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilLayer2D.cs =================================================================== diff -u -r81f24a37267276f3169746471998361272d68b4c -r686c5eeaad900a6bb627733de8c21bd607f130aa --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilLayer2D.cs (.../MacroStabilityInwardsSoilLayer2D.cs) (revision 81f24a37267276f3169746471998361272d68b4c) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilLayer2D.cs (.../MacroStabilityInwardsSoilLayer2D.cs) (revision 686c5eeaad900a6bb627733de8c21bd607f130aa) @@ -28,7 +28,7 @@ /// /// This class represents a 2D layer that was imported from D-Soil Model. /// - public class MacroStabilityInwardsSoilLayer2D : IMacroStabilityInwardsSoilLayer2D + public class MacroStabilityInwardsSoilLayer2D : IMacroStabilityInwardsSoilLayer { /// /// Creates a new instance of . @@ -38,7 +38,7 @@ /// the layer. /// Thrown when any parameter is null. public MacroStabilityInwardsSoilLayer2D(Ring outerRing, IEnumerable holes) - : this(outerRing, holes, new MacroStabilityInwardsSoilLayerData(), Enumerable.Empty()) {} + : this(outerRing, holes, new MacroStabilityInwardsSoilLayerData(), Enumerable.Empty()) {} /// /// Creates a new instance of . @@ -47,9 +47,9 @@ /// The rings describing the holes within the outer boundaries of /// the layer. /// The data of the soil layer. - /// The nested . + /// The nested . /// Thrown when any parameter is null. - public MacroStabilityInwardsSoilLayer2D(Ring outerRing, IEnumerable holes, MacroStabilityInwardsSoilLayerData data, IEnumerable nestedLayers) + public MacroStabilityInwardsSoilLayer2D(Ring outerRing, IEnumerable holes, MacroStabilityInwardsSoilLayerData data, IEnumerable nestedLayers) { if (outerRing == null) { @@ -77,11 +77,20 @@ NestedLayers = nestedLayers; } + /// + /// Gets the outer ring of the layer. + /// public Ring OuterRing { get; } + /// + /// Gets the holes of the layer. + /// public Ring[] Holes { get; } - public IEnumerable NestedLayers { get; } + /// + /// Gets any nested layers. + /// + public IEnumerable NestedLayers { get; } public MacroStabilityInwardsSoilLayerData Data { get; } @@ -115,7 +124,7 @@ hashCode = (hashCode * 397) ^ hole.GetHashCode(); } - foreach (IMacroStabilityInwardsSoilLayer2D nestedLayer in NestedLayers) + foreach (MacroStabilityInwardsSoilLayer2D nestedLayer in NestedLayers) { hashCode = (hashCode * 397) ^ nestedLayer.GetHashCode(); }