Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/PresentationObjects/PipingInputContext.cs =================================================================== diff -u -re0368fded7b5205d75bd1fbefd90ba8634d58fa6 -rd4dfa2c6c715426bf899c52cb268a9d7a2ef068a --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/PresentationObjects/PipingInputContext.cs (.../PipingInputContext.cs) (revision e0368fded7b5205d75bd1fbefd90ba8634d58fa6) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/PresentationObjects/PipingInputContext.cs (.../PipingInputContext.cs) (revision d4dfa2c6c715426bf899c52cb268a9d7a2ef068a) @@ -34,24 +34,8 @@ /// public class PipingInputContext : PipingContext { - public PipingInputContext(PipingInput input, IEnumerable surfaceLines, IEnumerable profiles): - base(input, surfaceLines, profiles){ } - public PipingInputContext(PipingInput pipingInput, IEnumerable surfaceLines, IEnumerable soilProfiles, AssessmentSectionBase assessmentSection) - : base(pipingInput, surfaceLines, soilProfiles) - { - if (assessmentSection == null) - { - var message = String.Format(Resources.PipingContext_AssertInputsAreNotNull_DataDescription_0_cannot_be_null, - Resources.PipingContext_DataDescription_AssessmentSection); - throw new ArgumentNullException("assessmentSection", message); - } - AssessmentSection = assessmentSection; - } - - /// - /// Gets the assessment section which the piping context belongs to. - /// - public AssessmentSectionBase AssessmentSection { get; private set; } + : base(pipingInput, surfaceLines, soilProfiles, assessmentSection) + { } } } \ No newline at end of file