Index: Core/Common/src/Core.Common.Utils/Reflection/TypeUtils.cs
===================================================================
diff -u -rce94b8228bc7e51779b3754217580f13cb35e475 -rbe9428984d28fcbd8f6089f1c1184cd9763c18bf
--- Core/Common/src/Core.Common.Utils/Reflection/TypeUtils.cs (.../TypeUtils.cs) (revision ce94b8228bc7e51779b3754217580f13cb35e475)
+++ Core/Common/src/Core.Common.Utils/Reflection/TypeUtils.cs (.../TypeUtils.cs) (revision be9428984d28fcbd8f6089f1c1184cd9763c18bf)
@@ -67,7 +67,7 @@
/// The expression.
/// The string name of the member.
/// When
- /// is not an expression with a member, such as a expression calling multiple methods.
+ /// is not an expression with a member, such as an expression calling multiple methods.
public static string GetMemberName(Expression> expression)
{
return GetMemberName(expression, expression.Body);
@@ -80,7 +80,7 @@
/// The expression.
/// The string name of the member.
/// When
- /// is not an expression with a member, such as a expression calling multiple methods.
+ /// is not an expression with a member, such as an expression calling multiple methods.
public static string GetMemberName(Expression> expression)
{
return GetMemberName(expression, expression.Body);
@@ -225,7 +225,7 @@
/// True if the property is decorated with the given ,
/// false otherwise.
/// When
- /// is not an expression with a property, such as a expression calling multiple methods.
+ /// is not an expression with a property, such as an expression calling multiple methods.
/// More then one property is found with
/// name specified in .
/// A custom attribute type cannot be loaded.
Index: Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityAssessmentOutput.cs
===================================================================
diff -u -rce94b8228bc7e51779b3754217580f13cb35e475 -rbe9428984d28fcbd8f6089f1c1184cd9763c18bf
--- Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityAssessmentOutput.cs (.../ProbabilityAssessmentOutput.cs) (revision ce94b8228bc7e51779b3754217580f13cb35e475)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityAssessmentOutput.cs (.../ProbabilityAssessmentOutput.cs) (revision be9428984d28fcbd8f6089f1c1184cd9763c18bf)
@@ -47,7 +47,7 @@
/// The reliability of the failure mechanism.
/// The factor of safety of the failure mechanism.
/// When setting a probability that falls
- /// outside the [0.0, 1.0] range or isn't .
+ /// outside the [0.0, 1.0] range and isn't .
public ProbabilityAssessmentOutput(double requiredProbability, double requiredReliability, double probability, double reliability, double factorOfSafety)
{
RequiredProbability = requiredProbability;
@@ -61,7 +61,7 @@
/// Gets the required (maximum allowed) probability of failure.
///
/// When setting a value that falls
- /// outside the [0.0, 1.0] range or isn't .
+ /// outside the [0.0, 1.0] range and isn't .
public double RequiredProbability
{
get
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj
===================================================================
diff -u -rce94b8228bc7e51779b3754217580f13cb35e475 -rbe9428984d28fcbd8f6089f1c1184cd9763c18bf
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj (.../Ringtoets.Integration.Data.csproj) (revision ce94b8228bc7e51779b3754217580f13cb35e475)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Ringtoets.Integration.Data.csproj (.../Ringtoets.Integration.Data.csproj) (revision be9428984d28fcbd8f6089f1c1184cd9763c18bf)
@@ -94,10 +94,6 @@
Ringtoets.Common.Data
False
-
- {4d840673-3812-4338-a352-84854e32b8a0}
- Ringtoets.Common.Forms
-
{90DE728E-48EF-4665-AB38-3D88E41D9F4D}
Ringtoets.GrassCoverErosionInwards.Data
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResults/MicrostabilityFailureMechanismSectionResult.cs
===================================================================
diff -u -rce94b8228bc7e51779b3754217580f13cb35e475 -rbe9428984d28fcbd8f6089f1c1184cd9763c18bf
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResults/MicrostabilityFailureMechanismSectionResult.cs (.../MicrostabilityFailureMechanismSectionResult.cs) (revision ce94b8228bc7e51779b3754217580f13cb35e475)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResults/MicrostabilityFailureMechanismSectionResult.cs (.../MicrostabilityFailureMechanismSectionResult.cs) (revision be9428984d28fcbd8f6089f1c1184cd9763c18bf)
@@ -20,12 +20,10 @@
// All rights reserved.
using System;
-using System.ComponentModel;
using Core.Common.Base.Data;
using Core.Common.Base.Storage;
using Ringtoets.Common.Data.FailureMechanism;
-using Ringtoets.Common.Forms.TypeConverters;
namespace Ringtoets.Integration.Data.StandAlone.SectionResults
{
@@ -60,7 +58,6 @@
///
/// Gets or sets the value of the tailored assessment of safety.
///
- [TypeConverter(typeof(FailureMechanismSectionResultNoValueRoundedDoubleConverter))]
public RoundedDouble AssessmentLayerThree { get; set; }
public long StorageId { get; set; }
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/FailureMechanismContributionView.cs
===================================================================
diff -u -r0e314e2189c1989446067712f63ac349020efd51 -rbe9428984d28fcbd8f6089f1c1184cd9763c18bf
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/FailureMechanismContributionView.cs (.../FailureMechanismContributionView.cs) (revision 0e314e2189c1989446067712f63ac349020efd51)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/FailureMechanismContributionView.cs (.../FailureMechanismContributionView.cs) (revision be9428984d28fcbd8f6089f1c1184cd9763c18bf)
@@ -20,6 +20,7 @@
// All rights reserved.
using System;
+using System.Globalization;
using System.Linq;
using System.Windows.Forms;
using Core.Common.Base;
@@ -276,7 +277,7 @@
{
if (string.IsNullOrEmpty(normInput.Text))
{
- normInput.Text = string.Format("{0}", normInput.Value);
+ normInput.Text = normInput.Value.ToString(CultureInfo.CurrentCulture);
}
}
Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResults/MicrostabilityFailureMechanismSectionResultTest.cs
===================================================================
diff -u -rce94b8228bc7e51779b3754217580f13cb35e475 -rbe9428984d28fcbd8f6089f1c1184cd9763c18bf
--- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResults/MicrostabilityFailureMechanismSectionResultTest.cs (.../MicrostabilityFailureMechanismSectionResultTest.cs) (revision ce94b8228bc7e51779b3754217580f13cb35e475)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/StandAlone/SectionResults/MicrostabilityFailureMechanismSectionResultTest.cs (.../MicrostabilityFailureMechanismSectionResultTest.cs) (revision be9428984d28fcbd8f6089f1c1184cd9763c18bf)
@@ -60,7 +60,7 @@
Assert.AreSame(section, result.Section);
Assert.IsFalse(result.AssessmentLayerOne);
Assert.AreEqual(AssessmentLayerTwoAResult.NotCalculated, result.AssessmentLayerTwoA);
- Assert.IsNaN(result.AssessmentLayerThree.Value);
+ Assert.IsNaN(result.AssessmentLayerThree);
Assert.AreEqual(0, result.StorageId);
}
}
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/ClosingStructureSectionResultRowTest.cs
===================================================================
diff -u -r9d7a5bd6246ec71a14f1944516d21e06954243f7 -rbe9428984d28fcbd8f6089f1c1184cd9763c18bf
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/ClosingStructureSectionResultRowTest.cs (.../ClosingStructureSectionResultRowTest.cs) (revision 9d7a5bd6246ec71a14f1944516d21e06954243f7)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/ClosingStructureSectionResultRowTest.cs (.../ClosingStructureSectionResultRowTest.cs) (revision be9428984d28fcbd8f6089f1c1184cd9763c18bf)
@@ -66,9 +66,7 @@
// Assert
Assert.AreEqual(section.Name, row.Name);
Assert.AreEqual(result.AssessmentLayerOne, row.AssessmentLayerOne);
- Assert.AreEqual(result.AssessmentLayerTwoA, row.AssessmentLayerTwoA
- );
-
+ Assert.AreEqual(result.AssessmentLayerTwoA, row.AssessmentLayerTwoA);
Assert.AreEqual(result.AssessmentLayerThree, row.AssessmentLayerThree);
Assert.IsTrue(TypeUtils.HasTypeConverter