Index: Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/StochastConverter.cs
===================================================================
diff -u -re2e6db0810ded8ad8c1e6b14a48296f6914954dc -ra06740b53b2afe4f6db49a0f54ba9f743da131b1
--- Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/StochastConverter.cs (.../StochastConverter.cs) (revision e2e6db0810ded8ad8c1e6b14a48296f6914954dc)
+++ Ringtoets/Common/src/Ringtoets.Common.Service/IllustrationPoints/StochastConverter.cs (.../StochastConverter.cs) (revision a06740b53b2afe4f6db49a0f54ba9f743da131b1)
@@ -49,23 +49,23 @@
}
///
- /// Creates a new instance of based on the information of .
+ /// Creates a new instance of based on the information of .
///
/// The to base the
- /// to create on.
+ /// to create on.
/// The newly created .
/// Thrown when
/// is null.
- public static RealizedStochast CreateRealizedStochast(HydraRealizedStochast hydraRealizedStochast)
+ public static SubmechanismIllustrationPointStochast CreateSubmechanismIllustrationStochast(HydraRealizedStochast hydraRealizedStochast)
{
if (hydraRealizedStochast == null)
{
throw new ArgumentNullException(nameof(hydraRealizedStochast));
}
- return new RealizedStochast(hydraRealizedStochast.Name,
- hydraRealizedStochast.Duration,
- hydraRealizedStochast.Alpha,
- hydraRealizedStochast.Realization);
+ return new SubmechanismIllustrationPointStochast(hydraRealizedStochast.Name,
+ hydraRealizedStochast.Duration,
+ hydraRealizedStochast.Alpha,
+ hydraRealizedStochast.Realization);
}
}
}
\ No newline at end of file