Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs
===================================================================
diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs (.../GeneralGrassCoverErosionOutwardsInput.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs (.../GeneralGrassCoverErosionOutwardsInput.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -46,7 +46,7 @@
///
/// Gets the general input parameter used in wave conditions calculations.
///
- public GeneralWaveConditionsInput GeneralWaveConditionsInput { get; private set; }
+ public GeneralWaveConditionsInput GeneralWaveConditionsInput { get; }
#region Probability assessment
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsFailureMechanism.cs
===================================================================
diff -u -red4b032b9903f394deb9691c2c39a9f2122ab0f5 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsFailureMechanism.cs (.../GrassCoverErosionOutwardsFailureMechanism.cs) (revision ed4b032b9903f394deb9691c2c39a9f2122ab0f5)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsFailureMechanism.cs (.../GrassCoverErosionOutwardsFailureMechanism.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -64,12 +64,12 @@
///
/// Gets the general grass cover erosion outwards calculation input parameters that apply to each calculation.
///
- public GeneralGrassCoverErosionOutwardsInput GeneralInput { get; private set; }
+ public GeneralGrassCoverErosionOutwardsInput GeneralInput { get; }
///
/// Gets the hydraulic boundary locations.
///
- public ObservableList HydraulicBoundaryLocations { get; private set; }
+ public ObservableList HydraulicBoundaryLocations { get; }
///
/// Gets the container of all wave conditions calculations.
@@ -79,7 +79,7 @@
///
/// Gets the available foreshore profiles for this instance.
///
- public ForeshoreProfileCollection ForeshoreProfiles { get; private set; }
+ public ForeshoreProfileCollection ForeshoreProfiles { get; }
public IEnumerable SectionResults
{
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsContext.cs
===================================================================
diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsContext.cs (.../GrassCoverErosionOutwardsContext.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsContext.cs (.../GrassCoverErosionOutwardsContext.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -70,7 +70,7 @@
///
/// Gets the assessment section which the calculation group belongs to.
///
- public IAssessmentSection AssessmentSection { get; private set; }
+ public IAssessmentSection AssessmentSection { get; }
///
/// Gets the foreshore profiles currently known in the .
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsDesignWaterLevelLocationsContext.cs
===================================================================
diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsDesignWaterLevelLocationsContext.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsContext.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsDesignWaterLevelLocationsContext.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsContext.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -64,11 +64,11 @@
///
/// Gets the assessment section.
///
- public IAssessmentSection AssessmentSection { get; private set; }
+ public IAssessmentSection AssessmentSection { get; }
///
/// Gets the grass cover erosion outwards failure mechanism.
///
- public GrassCoverErosionOutwardsFailureMechanism FailureMechanism { get; private set; }
+ public GrassCoverErosionOutwardsFailureMechanism FailureMechanism { get; }
}
}
\ No newline at end of file
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsWaveHeightLocationsContext.cs
===================================================================
diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsWaveHeightLocationsContext.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsContext.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/GrassCoverErosionOutwardsWaveHeightLocationsContext.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsContext.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -66,11 +66,11 @@
///
/// Gets the assessment section to which the hydraulic boundary locations belong.
///
- public IAssessmentSection AssessmentSection { get; private set; }
+ public IAssessmentSection AssessmentSection { get; }
///
/// Gets the grass cover erosion outwards failure mechanism.
///
- public GrassCoverErosionOutwardsFailureMechanism FailureMechanism { get; private set; }
+ public GrassCoverErosionOutwardsFailureMechanism FailureMechanism { get; }
}
}
\ No newline at end of file
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/HydraulicBoundariesGroupContext.cs
===================================================================
diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/HydraulicBoundariesGroupContext.cs (.../HydraulicBoundariesGroupContext.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/PresentationObjects/HydraulicBoundariesGroupContext.cs (.../HydraulicBoundariesGroupContext.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -60,11 +60,11 @@
///
/// Gets the assessment section.
///
- public IAssessmentSection AssessmentSection { get; private set; }
+ public IAssessmentSection AssessmentSection { get; }
///
/// Gets the failure mechanism.
///
- public GrassCoverErosionOutwardsFailureMechanism FailureMechanism { get; private set; }
+ public GrassCoverErosionOutwardsFailureMechanism FailureMechanism { get; }
}
}
\ No newline at end of file
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.IO/Exporters/GrassCoverErosionOutwardsWaveConditionsExporter.cs
===================================================================
diff -u -r2057d3372084602a2d959db2e33dcf81de971a73 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.IO/Exporters/GrassCoverErosionOutwardsWaveConditionsExporter.cs (.../GrassCoverErosionOutwardsWaveConditionsExporter.cs) (revision 2057d3372084602a2d959db2e33dcf81de971a73)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.IO/Exporters/GrassCoverErosionOutwardsWaveConditionsExporter.cs (.../GrassCoverErosionOutwardsWaveConditionsExporter.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -24,7 +24,6 @@
using System.Linq;
using Core.Common.IO.Exceptions;
using Ringtoets.GrassCoverErosionOutwards.Data;
-using Ringtoets.Revetment.IO;
using Ringtoets.Revetment.IO.WaveConditions;
namespace Ringtoets.GrassCoverErosionOutwards.IO.Exporters
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Service/MessageProviders/GrassCoverErosionOutwardsDesignWaterLevelCalculationMessageProvider.cs
===================================================================
diff -u -rc7cfd69ca9c95a190e7cc4d0f8184d0c69bbc1c2 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Service/MessageProviders/GrassCoverErosionOutwardsDesignWaterLevelCalculationMessageProvider.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationMessageProvider.cs) (revision c7cfd69ca9c95a190e7cc4d0f8184d0c69bbc1c2)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Service/MessageProviders/GrassCoverErosionOutwardsDesignWaterLevelCalculationMessageProvider.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationMessageProvider.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -19,7 +19,6 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
-using System;
using Ringtoets.Common.Service.MessageProviders;
using Ringtoets.GrassCoverErosionOutwards.Data;
using Ringtoets.GrassCoverErosionOutwards.Service.Properties;
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Service/MessageProviders/GrassCoverErosionOutwardsWaveHeightCalculationMessageProvider.cs
===================================================================
diff -u -rc7cfd69ca9c95a190e7cc4d0f8184d0c69bbc1c2 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Service/MessageProviders/GrassCoverErosionOutwardsWaveHeightCalculationMessageProvider.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationMessageProvider.cs) (revision c7cfd69ca9c95a190e7cc4d0f8184d0c69bbc1c2)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Service/MessageProviders/GrassCoverErosionOutwardsWaveHeightCalculationMessageProvider.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationMessageProvider.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -19,7 +19,6 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
-using System;
using Ringtoets.Common.Service.MessageProviders;
using Ringtoets.GrassCoverErosionOutwards.Data;
using Ringtoets.GrassCoverErosionOutwards.Service.Properties;
Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/GrassCoverErosionOutwardsWaveConditionsCalculationHelperTest.cs
===================================================================
diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/GrassCoverErosionOutwardsWaveConditionsCalculationHelperTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationHelperTest.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20)
+++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/GrassCoverErosionOutwardsWaveConditionsCalculationHelperTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationHelperTest.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -96,7 +96,7 @@
Assert.AreEqual(locations[0], firstCalculation.InputParameters.HydraulicBoundaryLocation);
var secondCalculation = (GrassCoverErosionOutwardsWaveConditionsCalculation) calculationBases.ElementAt(1);
- Assert.AreEqual(string.Format("{0} (1)", name), secondCalculation.Name);
+ Assert.AreEqual($"{name} (1)", secondCalculation.Name);
Assert.AreSame(locations[1], secondCalculation.InputParameters.HydraulicBoundaryLocation);
}
@@ -124,11 +124,11 @@
// Assert
Assert.AreEqual(3, calculationBases.Count);
var firstCalculation = (GrassCoverErosionOutwardsWaveConditionsCalculation) calculationBases.ElementAt(1);
- Assert.AreEqual(string.Format("{0} (1)", name), firstCalculation.Name);
+ Assert.AreEqual($"{name} (1)", firstCalculation.Name);
Assert.AreEqual(locations[0], firstCalculation.InputParameters.HydraulicBoundaryLocation);
var secondCalculation = (GrassCoverErosionOutwardsWaveConditionsCalculation) calculationBases.ElementAt(2);
- Assert.AreEqual(string.Format("{0} (2)", name), secondCalculation.Name);
+ Assert.AreEqual($"{name} (2)", secondCalculation.Name);
Assert.AreSame(locations[1], secondCalculation.InputParameters.HydraulicBoundaryLocation);
}
}
Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs
===================================================================
diff -u -rac5d52dfa559def14c89499c0f819754ed3b446c -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs) (revision ac5d52dfa559def14c89499c0f819754ed3b446c)
+++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveConditionsInputContextPropertiesTest.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -29,8 +29,8 @@
using Ringtoets.GrassCoverErosionOutwards.Forms.PresentationObjects;
using Ringtoets.GrassCoverErosionOutwards.Forms.PropertyClasses;
using Ringtoets.Revetment.Data;
-using Ringtoets.Revetment.Forms.PropertyClasses;
using Ringtoets.Revetment.Data.TestUtil;
+using Ringtoets.Revetment.Forms.PropertyClasses;
namespace Ringtoets.GrassCoverErosionOutwards.Forms.Test.PropertyClasses
{
Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsOutputPropertiesTest.cs
===================================================================
diff -u -rac5d52dfa559def14c89499c0f819754ed3b446c -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsOutputPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveConditionsOutputPropertiesTest.cs) (revision ac5d52dfa559def14c89499c0f819754ed3b446c)
+++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PropertyClasses/GrassCoverErosionOutwardsWaveConditionsOutputPropertiesTest.cs (.../GrassCoverErosionOutwardsWaveConditionsOutputPropertiesTest.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -29,8 +29,8 @@
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.GrassCoverErosionOutwards.Data;
using Ringtoets.GrassCoverErosionOutwards.Forms.PropertyClasses;
-using Ringtoets.Revetment.Forms.PropertyClasses;
using Ringtoets.Revetment.Data.TestUtil;
+using Ringtoets.Revetment.Forms.PropertyClasses;
namespace Ringtoets.GrassCoverErosionOutwards.Forms.Test.PropertyClasses
{
Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Integration.Test/GrassCoverErosionOutwardsWaveHeightLocationsViewIntegrationTest.cs
===================================================================
diff -u -r0ce4c68a5285d7596b108dc1b42693970961bd50 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Integration.Test/GrassCoverErosionOutwardsWaveHeightLocationsViewIntegrationTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewIntegrationTest.cs) (revision 0ce4c68a5285d7596b108dc1b42693970961bd50)
+++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Integration.Test/GrassCoverErosionOutwardsWaveHeightLocationsViewIntegrationTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewIntegrationTest.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -23,7 +23,6 @@
using System.Windows.Forms;
using Core.Common.Base;
using Core.Common.Utils.Reflection;
-using NUnit.Extensions.Forms;
using NUnit.Framework;
using Rhino.Mocks;
using Ringtoets.Common.Data.AssessmentSection;
Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextWaveConditionsExportInfoTest.cs
===================================================================
diff -u -r8b60c9e846480f3ffeeb263bfea5d3367bf6bee3 -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextWaveConditionsExportInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextWaveConditionsExportInfoTest.cs) (revision 8b60c9e846480f3ffeeb263bfea5d3367bf6bee3)
+++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ExportInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextWaveConditionsExportInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextWaveConditionsExportInfoTest.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -30,8 +30,8 @@
using Ringtoets.Common.Data.Calculation;
using Ringtoets.GrassCoverErosionOutwards.Data;
using Ringtoets.GrassCoverErosionOutwards.Forms.PresentationObjects;
-using Ringtoets.Revetment.IO.WaveConditions;
using Ringtoets.Revetment.Data.TestUtil;
+using Ringtoets.Revetment.IO.WaveConditions;
using CoreCommonGuiResources = Core.Common.Gui.Properties.Resources;
namespace Ringtoets.GrassCoverErosionOutwards.Plugin.Test.ExportInfos
Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs
===================================================================
diff -u -ra468ad165c77c8f2b5d0f3b751dd6589f348ef8e -r04cf5f873b69cb330aeda88b622e286b2aefa852
--- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs) (revision a468ad165c77c8f2b5d0f3b751dd6589f348ef8e)
+++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewInfoTest.cs) (revision 04cf5f873b69cb330aeda88b622e286b2aefa852)
@@ -22,7 +22,6 @@
using System.Collections.Generic;
using System.Linq;
using Core.Common.Base;
-using Core.Common.Controls.Views;
using Core.Common.Gui;
using Core.Common.Gui.Forms.MainWindow;
using Core.Common.Gui.Plugin;