Index: Ringtoets/Common/src/Ringtoets.Common.IO/DikeProfiles/ProfileLocationReader.cs =================================================================== diff -u -r6be5c7bbb198800d32d85524d0a67ef4a6e1b229 -rc1311a20323cc33515c71d48d884810d5250a449 --- Ringtoets/Common/src/Ringtoets.Common.IO/DikeProfiles/ProfileLocationReader.cs (.../ProfileLocationReader.cs) (revision 6be5c7bbb198800d32d85524d0a67ef4a6e1b229) +++ Ringtoets/Common/src/Ringtoets.Common.IO/DikeProfiles/ProfileLocationReader.cs (.../ProfileLocationReader.cs) (revision c1311a20323cc33515c71d48d884810d5250a449) @@ -147,10 +147,17 @@ } } + /// + /// Gets the offset value in . + /// + /// The attributes containing the offset value. + /// The read offset value. + /// Thrown when does + /// not a valid value for offset. private static double GetOffsetAttributeValue(IDictionary attributes) { object value = attributes[offsetAttributeName]; - if(value == null) + if (value == null) { throw new LineParseException(Resources.ProfileLocationReader_GetProfileLocations_Invalid_X0); } @@ -177,6 +184,11 @@ return attributeIdValue; } + /// + /// Validates that the shape file has the required attributes. + /// + /// Thrown when the shape file does not have + /// the required attributes. private void CheckRequiredAttributePresence() { IEnumerable requiredAttributes = new[]