Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructuresFailureMechanism.cs =================================================================== diff -u -r85afdfc76831fae199c6c9ad6959e30d90ebb08d -r4fd4b13639f6d6f3657c02916f60571bf940ee9c --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructuresFailureMechanism.cs (.../ClosingStructuresFailureMechanism.cs) (revision 85afdfc76831fae199c6c9ad6959e30d90ebb08d) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructuresFailureMechanism.cs (.../ClosingStructuresFailureMechanism.cs) (revision 4fd4b13639f6d6f3657c02916f60571bf940ee9c) @@ -38,10 +38,9 @@ /// public class ClosingStructuresFailureMechanism : FailureMechanismBase, ICalculatableFailureMechanism, - IHasSectionResults> + IHasSectionResults { - private readonly ObservableList> sectionResults; - private readonly ObservableList sectionResults2; + private readonly ObservableList sectionResults; /// /// Initializes a new instance of the class. @@ -55,8 +54,7 @@ }; GeneralInput = new GeneralClosingStructuresInput(); ClosingStructures = new StructureCollection(); - sectionResults = new ObservableList>(); - sectionResults2 = new ObservableList(); + sectionResults = new ObservableList(); ForeshoreProfiles = new ForeshoreProfileCollection(); } @@ -85,34 +83,25 @@ public CalculationGroup CalculationsGroup { get; } - public IObservableEnumerable> SectionResults + public IObservableEnumerable SectionResults { get { return sectionResults; } } - public IObservableEnumerable SectionResults2 - { - get - { - return sectionResults2; - } - } - public override void AddSection(FailureMechanismSection section) { base.AddSection(section); - sectionResults.Add(new StructuresFailureMechanismSectionResult(section)); - sectionResults2.Add(new ClosingStructuresFailureMechanismSectionResult(section)); + sectionResults.Add(new ClosingStructuresFailureMechanismSectionResult(section)); } public override void ClearAllSections() { base.ClearAllSections(); sectionResults.Clear(); - sectionResults2.Clear(); + sectionResults.Clear(); } } } \ No newline at end of file