Index: Ringtoets/Common/src/Ringtoets.Common.IO/Readers/XElementExtensions.cs =================================================================== diff -u -r1fea24f00be5ae78cf5ceba066bae1056c0e5a2e -reeac9fe0e250075e6e95683e4781b7b96ddc178c --- Ringtoets/Common/src/Ringtoets.Common.IO/Readers/XElementExtensions.cs (.../XElementExtensions.cs) (revision 1fea24f00be5ae78cf5ceba066bae1056c0e5a2e) +++ Ringtoets/Common/src/Ringtoets.Common.IO/Readers/XElementExtensions.cs (.../XElementExtensions.cs) (revision eeac9fe0e250075e6e95683e4781b7b96ddc178c) @@ -210,7 +210,7 @@ /// Thrown when the value isn't in the correct format. /// Thrown when the value for mean or standard deviation represents a /// number less than or greater than . - public static MeanStandardDeviationStochastConfiguration GetStandardDeviationStochastParameters(this XElement calculationElement, string stochastName) + public static StochastConfiguration GetStandardDeviationStochastParameters(this XElement calculationElement, string stochastName) { if (calculationElement == null) { @@ -235,7 +235,7 @@ throw new CriticalFileReadException(message); } - return new MeanStandardDeviationStochastConfiguration + return new StochastConfiguration { Mean = element.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.MeanElement), StandardDeviation = element.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.StandardDeviationElement) @@ -244,7 +244,7 @@ return null; } - public static MeanVariationCoefficientStochastConfiguration GetVariationCoefficientStochastParameters(this XElement calculationElement, string stochastName) + public static StochastConfiguration GetVariationCoefficientStochastParameters(this XElement calculationElement, string stochastName) { if (calculationElement == null) { @@ -269,7 +269,7 @@ throw new CriticalFileReadException(message); } - return new MeanVariationCoefficientStochastConfiguration + return new StochastConfiguration { Mean = element.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.MeanElement), VariationCoefficient = element.GetDoubleValueFromDescendantElement(ConfigurationSchemaIdentifiers.VariationCoefficientElement)