Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/DikeProfile.cs =================================================================== diff -u -r5f0c498962317723017cf965a142e7cf4e67a915 -r5bf1ff8f68f3b19d538edfe0550c39fc691a924b --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/DikeProfile.cs (.../DikeProfile.cs) (revision 5f0c498962317723017cf965a142e7cf4e67a915) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/DikeProfile.cs (.../DikeProfile.cs) (revision 5bf1ff8f68f3b19d538edfe0550c39fc691a924b) @@ -32,8 +32,6 @@ /// public class DikeProfile { - private readonly List foreshoreGeometry; - private readonly List dikeGeometry; private RoundedDouble orientation; private RoundedDouble dikeHeight; @@ -53,8 +51,8 @@ Name = Resources.DikeProfile_DefaultName; Memo = ""; - dikeGeometry = new List(); - foreshoreGeometry = new List(); + DikeGeometry = new List(); + ForeshoreGeometry = new List(); WorldReferencePoint = worldCoordinate; } @@ -113,13 +111,7 @@ /// /// Gets the geometry of the foreshore. /// - public IList ForeshoreGeometry - { - get - { - return foreshoreGeometry; - } - } + public List ForeshoreGeometry { get; set; } /// /// Gets the geometry of the dike with roughness data. @@ -130,13 +122,7 @@ /// and the succeeding . The roughness of the last /// point is irrelevant. /// - public IList DikeGeometry - { - get - { - return dikeGeometry; - } - } + public List DikeGeometry { get; set; } /// /// Gets or sets the height of the dike [m+NAP].