Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsOutput.cs =================================================================== diff -u -ra64e778ac45d89e0bc35900b5c5b4a85e1f24089 -re7f6578ada32ed199d2b028ebb5eaeb691344592 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsOutput.cs (.../GrassCoverErosionInwardsOutput.cs) (revision a64e778ac45d89e0bc35900b5c5b4a85e1f24089) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsOutput.cs (.../GrassCoverErosionInwardsOutput.cs) (revision e7f6578ada32ed199d2b028ebb5eaeb691344592) @@ -28,7 +28,7 @@ /// /// The overall result of a grass cover erosion inwards assessment. /// - public class GrassCoverErosionInwardsOutput : Observable, ICalculationOutput + public class GrassCoverErosionInwardsOutput : Observable, ICalculationOutput, ICloneable { /// /// Creates a new instance of . @@ -54,16 +54,27 @@ /// /// Gets the overtopping output. /// - public OvertoppingOutput OvertoppingOutput { get; } + public OvertoppingOutput OvertoppingOutput { get; private set; } /// /// Gets the dike height output. /// - public DikeHeightOutput DikeHeightOutput { get; } + public DikeHeightOutput DikeHeightOutput { get; private set; } /// /// Gets the overtopping rate output. /// - public OvertoppingRateOutput OvertoppingRateOutput { get; } + public OvertoppingRateOutput OvertoppingRateOutput { get; private set; } + + public object Clone() + { + var clone = (GrassCoverErosionInwardsOutput) MemberwiseClone(); + + clone.OvertoppingOutput = (OvertoppingOutput) OvertoppingOutput.Clone(); + clone.DikeHeightOutput = (DikeHeightOutput) DikeHeightOutput.Clone(); + clone.OvertoppingRateOutput = (OvertoppingRateOutput) OvertoppingRateOutput.Clone(); + + return clone; + } } } \ No newline at end of file