Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditions.cs
===================================================================
diff -u -rc756dc3b049008b5f660b23351829a8e85c5c64c -ra7cbdc7cd13e35f343aaa27d5e452b6a5566a4e5
--- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditions.cs (.../ExportableWaveConditions.cs) (revision c756dc3b049008b5f660b23351829a8e85c5c64c)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditions.cs (.../ExportableWaveConditions.cs) (revision a7cbdc7cd13e35f343aaa27d5e452b6a5566a4e5)
@@ -38,10 +38,13 @@
/// The output parameters of the parent calculation.
/// The type of dike cover.
/// The name of the category boundary.
- /// Thrown when parameter is null.
+ /// Thrown when any parameter is null.
/// Thrown when
- /// is null for .
- public ExportableWaveConditions(string name, WaveConditionsInput waveConditionsInput, WaveConditionsOutput waveConditionsOutput, CoverType coverType,
+ /// is null in .
+ public ExportableWaveConditions(string name,
+ WaveConditionsInput waveConditionsInput,
+ WaveConditionsOutput waveConditionsOutput,
+ CoverType coverType,
string categoryBoundaryName)
{
if (name == null)
Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditionsFactory.cs
===================================================================
diff -u -r70498755638c516e4a216d70b6d50efa898047fc -ra7cbdc7cd13e35f343aaa27d5e452b6a5566a4e5
--- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditionsFactory.cs (.../ExportableWaveConditionsFactory.cs) (revision 70498755638c516e4a216d70b6d50efa898047fc)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditionsFactory.cs (.../ExportableWaveConditionsFactory.cs) (revision a7cbdc7cd13e35f343aaa27d5e452b6a5566a4e5)
@@ -28,25 +28,26 @@
namespace Ringtoets.Revetment.IO.WaveConditions
{
///
- /// Class for constructing objects.
+ /// Class for creating instances of .
///
public static class ExportableWaveConditionsFactory
{
///
- /// Create a collection of .
+ /// Creates a collection of .
///
- /// The name of the calculation to which the objects belong.
+ /// The name of the calculation to which the belong.
/// The used in the calculations.
- /// The objects resulting from columns calculations.
- /// The objects resulting from blocks calculations.
- /// A container of objects.
- /// Thrown when any parameter is null or
- /// when is null for or .
+ /// The resulting from columns calculations.
+ /// The resulting from blocks calculations.
+ /// A collection of .
+ /// Thrown when any parameter is null.
/// Thrown when
- /// is null for .
+ /// is null in .
public static IEnumerable CreateExportableWaveConditionsCollection(
- string name, AssessmentSectionCategoryWaveConditionsInput waveConditionsInput,
- IEnumerable columnsOutput, IEnumerable blocksOutput)
+ string name,
+ AssessmentSectionCategoryWaveConditionsInput waveConditionsInput,
+ IEnumerable columnsOutput,
+ IEnumerable blocksOutput)
{
if (name == null)
{
@@ -81,21 +82,18 @@
}
///
- /// Create a collection of .
+ /// Creates a collection of .
///
- /// The name of the calculation to which the objects belong.
+ /// The name of the calculation to which the belong.
/// The used in the calculations.
- /// The objects resulting from the calculations.
- /// A container of objects.
- /// Thrown when:
- ///
- /// - any parameter is null
- /// - any item in is null
- ///
+ /// The resulting from the calculations.
+ /// A collection of .
+ /// Thrown when any parameter is null.
/// Thrown when
- /// is null for .
+ /// is null in .
public static IEnumerable CreateExportableWaveConditionsCollection(
- string name, FailureMechanismCategoryWaveConditionsInput waveConditionsInput,
+ string name,
+ FailureMechanismCategoryWaveConditionsInput waveConditionsInput,
IEnumerable output)
{
if (waveConditionsInput == null)
@@ -108,21 +106,18 @@
}
///
- /// Create a collection of .
+ /// Creates a collection of .
///
- /// The name of the calculation to which the objects belong.
+ /// The name of the calculation to which the belong.
/// The used in the calculations.
- /// The objects resulting from the calculations.
- /// A container of objects.
- /// Thrown when:
- ///
- /// - any parameter is null
- /// - any item in is null
- ///
+ /// The resulting from the calculations.
+ /// A collection of .
+ /// Thrown when any parameter is null.
/// Thrown when
- /// is null for .
+ /// is null in .
public static IEnumerable CreateExportableWaveConditionsCollection(
- string name, AssessmentSectionCategoryWaveConditionsInput waveConditionsInput,
+ string name,
+ AssessmentSectionCategoryWaveConditionsInput waveConditionsInput,
IEnumerable output)
{
if (waveConditionsInput == null)
@@ -134,32 +129,24 @@
GetCategoryBoundaryName(waveConditionsInput.CategoryType));
}
- private static string GetCategoryBoundaryName(T enumValue)
- {
- return new EnumDisplayWrapper(enumValue).DisplayName;
- }
-
///
- /// Create a collection of .
+ /// Creates a collection of .
///
- /// The name of the calculation to which the objects belong.
+ /// The name of the calculation to which the belong.
/// The used in the calculations.
- /// The objects resulting from the calculations.
+ /// The resulting from the calculations.
/// The type of cover.
/// The name of the category boundary.
- /// A container of objects.
- /// Thrown when:
- ///
- /// - is null
- /// - is null
- /// - is null
- /// - any item in is null
- ///
+ /// A collection of .
+ /// Thrown when any parameter is null.
/// Thrown when
- /// is null for .
+ /// is null in .
private static IEnumerable CreateExportableWaveConditionsCollection(
- string name, WaveConditionsInput waveConditionsInput, IEnumerable output,
- CoverType coverType, string categoryBoundaryName)
+ string name,
+ WaveConditionsInput waveConditionsInput,
+ IEnumerable output,
+ CoverType coverType,
+ string categoryBoundaryName)
{
if (name == null)
{
@@ -174,5 +161,10 @@
return output.Select(waveConditionsOutput => new ExportableWaveConditions(name, waveConditionsInput, waveConditionsOutput,
coverType, categoryBoundaryName)).ToArray();
}
+
+ private static string GetCategoryBoundaryName(T enumValue)
+ {
+ return new EnumDisplayWrapper(enumValue).DisplayName;
+ }
}
}
\ No newline at end of file