Index: Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/GeneralResultConverter.cs =================================================================== diff -u -r0ca56b44f3e067763dbc0b76ea7f8f533fee7900 -rc77ccbb8b26516270f36ef53110be573839f3470 --- Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/GeneralResultConverter.cs (.../GeneralResultConverter.cs) (revision 0ca56b44f3e067763dbc0b76ea7f8f533fee7900) +++ Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/GeneralResultConverter.cs (.../GeneralResultConverter.cs) (revision c77ccbb8b26516270f36ef53110be573839f3470) @@ -40,7 +40,7 @@ { private static IEnumerable GetStochasts(HydraRingGeneralResult hydraGeneralResult) { - return hydraGeneralResult.Stochasts.Select(StochastConverter.CreateStochast); + return hydraGeneralResult.Stochasts.Select(StochastConverter.Convert); } #region SubMechanismIllustrationPoint @@ -55,15 +55,15 @@ /// Thrown when is null. /// Thrown when the /// cannot be converted to a with top level sub mechanism illustration points. - public static GeneralResult CreateGeneralResultTopLevelSubMechanismIllustrationPoint( + public static GeneralResult ConvertToGeneralResultTopLevelSubMechanismIllustrationPoint( HydraRingGeneralResult hydraRingGeneralResult) { if (hydraRingGeneralResult == null) { throw new ArgumentNullException(nameof(hydraRingGeneralResult)); } - WindDirection governingWindDirection = WindDirectionConverter.Create(hydraRingGeneralResult.GoverningWindDirection); + WindDirection governingWindDirection = WindDirectionConverter.Convert(hydraRingGeneralResult.GoverningWindDirection); IEnumerable stochasts = GetStochasts(hydraRingGeneralResult); IEnumerable windDirectionClosingScenarioIllustrationPoints = GetTopLevelSubMechanismIllustrationPoints(hydraRingGeneralResult.IllustrationPoints); @@ -98,7 +98,7 @@ var subMechanismIllustrationPoint = hydraIllustrationPointData as HydraRingSubMechanismIllustrationPoint; if (subMechanismIllustrationPoint != null) { - topLevelIlustrationPoints.Add(TopLevelSubMechanismIllustrationPointConverter.Create( + topLevelIlustrationPoints.Add(TopLevelSubMechanismIllustrationPointConverter.Convert( hydraWindDirectionClosingSituation, subMechanismIllustrationPoint)); } else @@ -127,15 +127,15 @@ /// is null. /// Thrown when the /// cannot be converted to a with top level fault tree illustration points. - public static GeneralResult CreateGeneralResultTopLevelFaultTreeIllustrationPoint( + public static GeneralResult ConvertToGeneralResultTopLevelFaultTreeIllustrationPoint( HydraRingGeneralResult hydraRingGeneralResult) { if (hydraRingGeneralResult == null) { throw new ArgumentNullException(nameof(hydraRingGeneralResult)); } - WindDirection governingWindDirection = WindDirectionConverter.Create(hydraRingGeneralResult.GoverningWindDirection); + WindDirection governingWindDirection = WindDirectionConverter.Convert(hydraRingGeneralResult.GoverningWindDirection); IEnumerable stochasts = GetStochasts(hydraRingGeneralResult); IEnumerable topLevelIllustrationPoints = GetTopLevelFaultTreeIllustrationPoints(hydraRingGeneralResult.IllustrationPoints); @@ -171,7 +171,7 @@ var faultTreeIllustrationPoint = hydraIllustrationPointData as HydraRingFaultTreeIllustrationPoint; if (faultTreeIllustrationPoint != null) { - topLevelIllustrationPoints.Add(TopLevelFaultTreeIllustrationPointConverter.Create( + topLevelIllustrationPoints.Add(TopLevelFaultTreeIllustrationPointConverter.Convert( hydraWindDirectionClosingSituation, hydraRingIllustrationPointTreeNode)); } else