Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Controls/FailureMechanismAssemblyControl.cs
===================================================================
diff -u -rce7c1e5c5a8aec0020b1ef5cf50bf3c20d3d4c2f -r84223425c4ab8eec2440f512b5b06bea8937f8f9
--- Ringtoets/Common/src/Ringtoets.Common.Forms/Controls/FailureMechanismAssemblyControl.cs (.../FailureMechanismAssemblyControl.cs) (revision ce7c1e5c5a8aec0020b1ef5cf50bf3c20d3d4c2f)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/Controls/FailureMechanismAssemblyControl.cs (.../FailureMechanismAssemblyControl.cs) (revision 84223425c4ab8eec2440f512b5b06bea8937f8f9)
@@ -33,21 +33,21 @@
public class FailureMechanismAssemblyControl : AssemblyResultWithProbabilityControl
{
///
- /// Set the values of to the control.
+ /// Set the values of on the control.
///
- /// The to set on the control.
- /// Thrown when is null.
- public void SetAssemblyResult(FailureMechanismAssembly assembly)
+ /// The to set on the control.
+ /// Thrown when is null.
+ public void SetAssemblyResult(FailureMechanismAssembly result)
{
- if (assembly == null)
+ if (result == null)
{
- throw new ArgumentNullException(nameof(assembly));
+ throw new ArgumentNullException(nameof(result));
}
- GroupLabel.Text = new EnumDisplayWrapper(assembly.Group).DisplayName;
- GroupLabel.BackColor = AssemblyCategoryGroupColorHelper.GetFailureMechanismAssemblyCategoryGroupColor(assembly.Group);
+ GroupLabel.Text = new EnumDisplayWrapper(result.Group).DisplayName;
+ GroupLabel.BackColor = AssemblyCategoryGroupColorHelper.GetFailureMechanismAssemblyCategoryGroupColor(result.Group);
- ProbabilityLabel.Text = new NoProbabilityValueDoubleConverter().ConvertToString(assembly.Probability);
+ ProbabilityLabel.Text = new NoProbabilityValueDoubleConverter().ConvertToString(result.Probability);
}
}
}
\ No newline at end of file