Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/PresentationObjects/WaveHeightLocationsContext.cs =================================================================== diff -u -r24942d5d831cb0d67336dd9d5506a4a23cf099f5 -rc0ae8653c6cd26824e08e97a6704a466e40c2a80 --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/PresentationObjects/WaveHeightLocationsContext.cs (.../WaveHeightLocationsContext.cs) (revision 24942d5d831cb0d67336dd9d5506a4a23cf099f5) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/PresentationObjects/WaveHeightLocationsContext.cs (.../WaveHeightLocationsContext.cs) (revision c0ae8653c6cd26824e08e97a6704a466e40c2a80) @@ -38,21 +38,37 @@ /// /// The locations that the belongs to. /// The that the belongs to. + /// for obtaining a + /// based on . /// Thrown when any parameter is null. public WaveHeightLocationsContext(ObservableList wrappedData, - IAssessmentSection assessmentSection) : base(wrappedData) + IAssessmentSection assessmentSection, + Func getCalculationFunc) + : base(wrappedData) { if (assessmentSection == null) { throw new ArgumentNullException(nameof(assessmentSection)); } + if (getCalculationFunc == null) + { + throw new ArgumentNullException(nameof(assessmentSection)); + } + AssessmentSection = assessmentSection; + GetCalculationFunc = getCalculationFunc; } /// /// Gets the assessment section that the context belongs to. /// public IAssessmentSection AssessmentSection { get; } + + /// + /// Gets the for obtaining a + /// based on . + /// + public Func GetCalculationFunc { get; } } } \ No newline at end of file