Index: Ringtoets/Common/src/Ringtoets.Common.IO/Structures/StructuresParameterRowsValidator.cs =================================================================== diff -u -rdcbb6f2651d8901f3bd2bfa2b2f9a0aa76fd8830 -rf06c84e1276819affaeafdf1169142e02c6eb04e --- Ringtoets/Common/src/Ringtoets.Common.IO/Structures/StructuresParameterRowsValidator.cs (.../StructuresParameterRowsValidator.cs) (revision dcbb6f2651d8901f3bd2bfa2b2f9a0aa76fd8830) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Structures/StructuresParameterRowsValidator.cs (.../StructuresParameterRowsValidator.cs) (revision f06c84e1276819affaeafdf1169142e02c6eb04e) @@ -257,13 +257,14 @@ /// /// Gets the relevant parameters for a height structure from a collection of . /// - /// - /// A collection of which are relevant + /// The collection of to + /// retrieve the relevant parameters from. + /// A collection of that are relevant /// for a height structure. /// Thrown when /// is null. /// Thrown when - /// contain duplicate elements. + /// contains duplicate elements. public static IEnumerable GetRelevantHeightStructuresParameters(IList structureParameterRows) { return GetStructuresParameters(structureParameterRows, heightStructuresRules); @@ -272,13 +273,14 @@ /// /// Gets the relevant parameters for a closing structure from a collection of . /// - /// - /// A collection of which are relevant + /// The collection of to + /// retrieve the relevant parameters from. + /// A collection of that are relevant /// for a closing structure. /// Thrown when /// is null. /// Thrown when - /// contain duplicate elements. + /// contains duplicate elements. public static IEnumerable GetRelevantClosingStructuresParameters(IList structureParameterRows) { return GetStructuresParameters(structureParameterRows, closingStructuresRules); @@ -287,30 +289,31 @@ /// /// Gets the relevant parameters for a stability point structure from a collection of . /// - /// - /// A collection of which are relevant + /// The collection of to + /// retrieve the relevant parameters from. + /// A collection of that are relevant /// for a stability point structure. /// Thrown when /// is null. /// Thrown when - /// contain duplicate elements. + /// contains duplicate elements. public static IEnumerable GetRelevantStabilityPointStructuresParameters(IList structureParameterRows) { return GetStructuresParameters(structureParameterRows, stabilityPointStructuresRules); } /// /// Retrieves all the relevant structure parameters from the - /// based on given rules. + /// based on given . /// /// The structure parameters which need to be filtered. - /// The rules which determines which parameters should be retrieved. + /// The rules that determine which parameters should be retrieved. /// An with /// based on the . /// Thrown when /// is null. /// Thrown when - /// contain duplicate elements. + /// contains duplicate elements. private static IEnumerable GetStructuresParameters(IList structureParameterRows, Dictionary>> rules) { Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Structures/StructuresParameterRowsValidatorTest.cs =================================================================== diff -u -re2f6cc5264140cea6d5a3559fdbf400eb123551f -rf06c84e1276819affaeafdf1169142e02c6eb04e --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Structures/StructuresParameterRowsValidatorTest.cs (.../StructuresParameterRowsValidatorTest.cs) (revision e2f6cc5264140cea6d5a3559fdbf400eb123551f) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Structures/StructuresParameterRowsValidatorTest.cs (.../StructuresParameterRowsValidatorTest.cs) (revision f06c84e1276819affaeafdf1169142e02c6eb04e) @@ -1703,62 +1703,54 @@ new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword1, - NumericalValue = 180.0, - LineNumber = 1 + NumericalValue = 180.0 }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword2, NumericalValue = 5.9, VarianceValue = 0.01, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 2 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword3, NumericalValue = 18.5, VarianceValue = 0.05, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 3 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword4, NumericalValue = 0.1, VarianceValue = 0.15, - VarianceType = VarianceType.CoefficientOfVariation, - LineNumber = 4 + VarianceType = VarianceType.CoefficientOfVariation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword5, NumericalValue = 4, VarianceValue = 0.05, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 5 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword6, - NumericalValue = 1, - LineNumber = 6 + NumericalValue = 1 }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword7, NumericalValue = 500000, VarianceValue = 0.1, - VarianceType = VarianceType.CoefficientOfVariation, - LineNumber = 7 + VarianceType = VarianceType.CoefficientOfVariation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.HeightStructureParameterKeyword8, NumericalValue = 6.5, VarianceValue = 0.1, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 8 + VarianceType = VarianceType.StandardDeviation } }; } @@ -1784,78 +1776,68 @@ ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword1, NumericalValue = 3, VarianceValue = 1.0, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 1 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword2, NumericalValue = 1, VarianceValue = 10.0, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 2 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword3, - NumericalValue = 123, - LineNumber = 3 + NumericalValue = 123 }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword4, NumericalValue = 0, VarianceValue = 10.0, - VarianceType = VarianceType.CoefficientOfVariation, - LineNumber = 4 + VarianceType = VarianceType.CoefficientOfVariation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword5, NumericalValue = 1, VarianceValue = 10.0, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 5 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword6, NumericalValue = 9, VarianceValue = 10.0, - VarianceType = VarianceType.CoefficientOfVariation, - LineNumber = 6 + VarianceType = VarianceType.CoefficientOfVariation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword7, NumericalValue = 1, VarianceValue = 10.0, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 7 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword8, NumericalValue = 1, VarianceValue = 2, - VarianceType = VarianceType.CoefficientOfVariation, - LineNumber = 8 + VarianceType = VarianceType.CoefficientOfVariation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword9, NumericalValue = 2, VarianceValue = 3, - VarianceType = VarianceType.StandardDeviation, - LineNumber = 9 + VarianceType = VarianceType.StandardDeviation }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword10, NumericalValue = 9, VarianceValue = 3, - VarianceType = VarianceType.CoefficientOfVariation, - LineNumber = 10 + VarianceType = VarianceType.CoefficientOfVariation }, new StructuresParameterRow { @@ -1866,14 +1848,12 @@ new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword12, - NumericalValue = 0.6, - LineNumber = 12 + NumericalValue = 0.6 }, new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword13, - NumericalValue = 14, - LineNumber = 13 + NumericalValue = 14 }, new StructuresParameterRow { @@ -1884,8 +1864,7 @@ new StructuresParameterRow { ParameterId = StructureFilesKeywords.ClosingStructureParameterKeyword15, - AlphanumericValue = "verticalewand", - LineNumber = 15 + AlphanumericValue = "verticalewand" } }; }