Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/PresentationObjects/PipingInputContext.cs =================================================================== diff -u -r314545f25db70366badcc527aeca68d241bfdcdc -r8c60e937f4b8009fea80f3702879e100fe03b63f --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/PresentationObjects/PipingInputContext.cs (.../PipingInputContext.cs) (revision 314545f25db70366badcc527aeca68d241bfdcdc) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/PresentationObjects/PipingInputContext.cs (.../PipingInputContext.cs) (revision 8c60e937f4b8009fea80f3702879e100fe03b63f) @@ -22,7 +22,7 @@ using System; using System.Collections.Generic; using Ringtoets.Common.Data.AssessmentSection; -using Ringtoets.Common.Data.FailureMechanism; +using Ringtoets.Common.Data.Calculation; using Ringtoets.Piping.Data; using Ringtoets.Piping.Forms.Properties; using Ringtoets.Piping.Primitives; @@ -40,26 +40,26 @@ /// Creates a new instance of /// /// The piping input instance wrapped by this context object. - /// The calculation item the belongs to. + /// The calculation item the belongs to. /// The surface lines available within the piping context. /// The stochastic soil models available within the piping context. /// The failure mechanism which the piping context belongs to. /// The assessment section which the piping context belongs to. /// When any input parameter is null. public PipingInputContext(PipingInput pipingInput, - ICalculationItem calculationItem, + ICalculation calculation, IEnumerable surfaceLines, IEnumerable stochasticSoilModels, PipingFailureMechanism pipingFailureMechanism, IAssessmentSection assessmentSection) : base(pipingInput, surfaceLines, stochasticSoilModels, assessmentSection) { - if (calculationItem == null) + if (calculation == null) { var message = String.Format(Resources.PipingContext_AssertInputsAreNotNull_DataDescription_0_cannot_be_null, Resources.PipingContext_DataDescription_PipingCalculationItem); - throw new ArgumentNullException("calculationItem", message); + throw new ArgumentNullException("calculation", message); } if (pipingFailureMechanism == null) { @@ -69,14 +69,14 @@ throw new ArgumentNullException("pipingFailureMechanism", message); } - PipingCalculationItem = calculationItem; + PipingCalculation = calculation; PipingFailureMechanism = pipingFailureMechanism; } /// /// Gets the calculation item which the piping context belongs to. /// - public ICalculationItem PipingCalculationItem { get; private set; } + public ICalculation PipingCalculation { get; private set; } /// /// Gets the failure mechanism which the piping context belongs to.