Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/DuneAssessmentSection.cs =================================================================== diff -u -r34955c174d61a12249d526629093343389c8c8ca -r5c044a6799b45bec77af170dca0a84bc434c5f6f --- Ringtoets/Integration/src/Ringtoets.Integration.Data/DuneAssessmentSection.cs (.../DuneAssessmentSection.cs) (revision 34955c174d61a12249d526629093343389c8c8ca) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/DuneAssessmentSection.cs (.../DuneAssessmentSection.cs) (revision 5c044a6799b45bec77af170dca0a84bc434c5f6f) @@ -1,5 +1,6 @@ -using Core.Common.Base; +using System.Collections.Generic; +using Ringtoets.Common.Data; using Ringtoets.Integration.Data.Placeholders; using Ringtoets.Integration.Data.Properties; @@ -8,44 +9,26 @@ /// /// The dune-based section to be assessed by the user for safety in regards of various failure mechanisms. /// - public class DuneAssessmentSection : Observable + public class DuneAssessmentSection : AssessmentSectionBase { /// /// Initializes a new instance of the class. /// public DuneAssessmentSection() { Name = Resources.DuneAssessmentSection_DisplayName; - ReferenceLine = new InputPlaceholder(Resources.ReferenceLine_DisplayName); - FailureMechanismContribution = new InputPlaceholder(Resources.FailureMechanismContribution_DisplayName); - HydraulicBoundaryDatabase = new InputPlaceholder(Resources.HydraulicBoundaryDatabase_DisplayName); DuneErosionFailureMechanism = new FailureMechanismPlaceholder(Resources.DuneErosionFailureMechanism_DisplayName); } /// - /// Gets or sets the name of the dune assessment section. - /// - public string Name { get; set; } - - /// - /// Gets or sets the reference line defining the geometry of the dike assessment section. - /// - public InputPlaceholder ReferenceLine { get; private set; } - - /// - /// Gets or sets the contribution of each failure mechanism available in this assessment section. - /// - public InputPlaceholder FailureMechanismContribution { get; private set; } - - /// - /// Gets or sets the hydraulic boundary database. - /// - public InputPlaceholder HydraulicBoundaryDatabase { get; private set; } - - /// /// Gets the "Duin erosie" failure mechanism. /// public FailureMechanismPlaceholder DuneErosionFailureMechanism { get; private set; } + + public override IEnumerable GetFailureMechanisms() + { + yield return DuneErosionFailureMechanism; + } } } \ No newline at end of file