Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PresentationObjects/ClosingStructuresCalculationGroupContext.cs
===================================================================
diff -u -rca23b1b155ca87c0aa4665fd919727570f31c781 -r5f489223b4d730eec42acd55533dd012d10dd1ca
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PresentationObjects/ClosingStructuresCalculationGroupContext.cs (.../ClosingStructuresCalculationGroupContext.cs) (revision ca23b1b155ca87c0aa4665fd919727570f31c781)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PresentationObjects/ClosingStructuresCalculationGroupContext.cs (.../ClosingStructuresCalculationGroupContext.cs) (revision 5f489223b4d730eec42acd55533dd012d10dd1ca)
@@ -20,9 +20,11 @@
// All rights reserved.
using System;
+using System.Collections.Generic;
using Ringtoets.ClosingStructures.Data;
using Ringtoets.Common.Data.AssessmentSection;
using Ringtoets.Common.Data.Calculation;
+using Ringtoets.Common.Data.DikeProfiles;
using Ringtoets.Common.Forms.PresentationObjects;
namespace Ringtoets.ClosingStructures.Forms.PresentationObjects
@@ -45,5 +47,27 @@
ClosingStructuresFailureMechanism failureMechanism,
IAssessmentSection assessmentSection)
: base(calculationGroup, failureMechanism, assessmentSection) {}
+
+ ///
+ /// Gets the available foreshore profiles.
+ ///
+ public IEnumerable AvailableForeshoreProfiles
+ {
+ get
+ {
+ return FailureMechanism.ForeshoreProfiles;
+ }
+ }
+
+ ///
+ /// Gets the available closing structures.
+ ///
+ public IEnumerable AvailableStructures
+ {
+ get
+ {
+ return FailureMechanism.ClosingStructures;
+ }
+ }
}
}
\ No newline at end of file