Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs
===================================================================
diff -u -reec680fe322aea5d1ecf8fdf1f14a273afdf6c53 -r617e9d4ecc8ca783391a7483bbccc1f9fafb6dae
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs (.../GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs) (revision eec680fe322aea5d1ecf8fdf1f14a273afdf6c53)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs (.../GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs) (revision 617e9d4ecc8ca783391a7483bbccc1f9fafb6dae)
@@ -28,32 +28,32 @@
{
///
/// Extension methods for
- /// related to creating a .
+ /// related to creating a .
///
internal static class GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions
{
///
/// Reads the and use
- /// the information to construct a .
+ /// the information to construct a .
///
/// The
- /// to create for.
- /// A new .
+ /// to create for.
+ /// A new .
/// Thrown when
/// is null.
- internal static SubCalculationAssessmentOutput Read(this GrassCoverErosionInwardsDikeHeightOutputEntity entity)
+ internal static HydraulicLoadsOutput Read(this GrassCoverErosionInwardsDikeHeightOutputEntity entity)
{
if (entity == null)
{
throw new ArgumentNullException(nameof(entity));
}
- return new SubCalculationAssessmentOutput(entity.DikeHeight.ToNullAsNaN(),
- entity.TargetProbability.ToNullAsNaN(),
- entity.TargetReliability.ToNullAsNaN(),
- entity.CalculatedProbability.ToNullAsNaN(),
- entity.CalculatedReliability.ToNullAsNaN(),
- (CalculationConvergence) entity.CalculationConvergence);
+ return new HydraulicLoadsOutput(entity.DikeHeight.ToNullAsNaN(),
+ entity.TargetProbability.ToNullAsNaN(),
+ entity.TargetReliability.ToNullAsNaN(),
+ entity.CalculatedProbability.ToNullAsNaN(),
+ entity.CalculatedReliability.ToNullAsNaN(),
+ (CalculationConvergence) entity.CalculationConvergence);
}
}
}
\ No newline at end of file