Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Data/DuneLocationCalculation.cs =================================================================== diff -u -r39c6c6e17abe4c22aa0247e97c839aa9a7be9135 -r6b62fabacd0f7c8409d46d69f5adac5dd5f18d1c --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Data/DuneLocationCalculation.cs (.../DuneLocationCalculation.cs) (revision 39c6c6e17abe4c22aa0247e97c839aa9a7be9135) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Data/DuneLocationCalculation.cs (.../DuneLocationCalculation.cs) (revision 6b62fabacd0f7c8409d46d69f5adac5dd5f18d1c) @@ -19,6 +19,8 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System; + namespace Ringtoets.DuneErosion.Data { /// @@ -27,8 +29,29 @@ public class DuneLocationCalculation { /// + /// Creates a new instance of . + /// + /// The dune location the calculation belongs to. + /// Thrown when + /// is null. + public DuneLocationCalculation(DuneLocation duneLocation) + { + if (duneLocation == null) + { + throw new ArgumentNullException(nameof(duneLocation)); + } + + DuneLocation = duneLocation; + } + + /// /// Gets or sets the output of the calculation. /// public DuneLocationOutput Output { get; set; } + + /// + /// Gets the dune location the calculation belongs to. + /// + public DuneLocation DuneLocation { get; } } } \ No newline at end of file