Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.IO/Model/SerializableFailureMechanismSection.cs =================================================================== diff -u -r1b1e58033efcfa5b93c0a2cd442e7c37d5ae91ab -r2a28064a44daa277c25e597f4b3eea1edd52e37c --- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.IO/Model/SerializableFailureMechanismSection.cs (.../SerializableFailureMechanismSection.cs) (revision 1b1e58033efcfa5b93c0a2cd442e7c37d5ae91ab) +++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.IO/Model/SerializableFailureMechanismSection.cs (.../SerializableFailureMechanismSection.cs) (revision 2a28064a44daa277c25e597f4b3eea1edd52e37c) @@ -47,14 +47,14 @@ /// Creates a new instance of . /// /// The unique ID of the section. - /// The failure mechanism sections object the section belong to. + /// The failure mechanism sections object the section belong to. /// The distance over the reference line where this section starts in meters. /// The distance over the reference line where this section ends in meters. /// The geometry of the section. /// The assembly method used to create this section. /// Thrown when any parameter is null. public SerializableFailureMechanismSection(string id, - SerializableFailureMechanismSections failureMechanismSections, + SerializableFailureMechanismSectionCollection failureMechanismSectionCollection, double startDistance, double endDistance, IEnumerable geometry, @@ -65,9 +65,9 @@ throw new ArgumentNullException(nameof(id)); } - if (failureMechanismSections == null) + if (failureMechanismSectionCollection == null) { - throw new ArgumentNullException(nameof(failureMechanismSections)); + throw new ArgumentNullException(nameof(failureMechanismSectionCollection)); } if (geometry == null) @@ -78,7 +78,7 @@ Id = id; StartDistance = new SerializableMeasure("m", startDistance); EndDistance = new SerializableMeasure("m", endDistance); - FailureMechanismSectionsId = failureMechanismSections.Id; + FailureMechanismSectionCollectionId = failureMechanismSectionCollection.Id; Geometry = new SerializableLine(geometry); Length = new SerializableMeasure("m", Math2D.Length(geometry)); AssemblyMethod = assemblyMethod; @@ -91,10 +91,10 @@ public string Id { get; set; } /// - /// Gets or sets the ID of the parent failure mechanism sections. + /// Gets or sets the ID of the parent failure mechanism section collection. /// - [XmlAttribute(AssemblyXmlIdentifiers.FailureMechanismSectionsIdRef)] - public string FailureMechanismSectionsId { get; set; } + [XmlAttribute(AssemblyXmlIdentifiers.FailureMechanismSectionCollectionIdRef)] + public string FailureMechanismSectionCollectionId { get; set; } /// /// Gets or sets the section starting distance.