Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResult.cs =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResult.cs (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResult.cs (revision be21f600bbe0e55f5ab9ca4a7b1162d37a1b25b2) @@ -0,0 +1,83 @@ +using System; +using Ringtoets.Common.Data.FailureMechanism; + +namespace Ringtoets.Integration.IO.Assembly +{ + /// + /// Class that holds all the information to export a failure mechanism section assembly result. + /// + public class ExportableAggregatedFailureMechanismSectionAssemblyResult + { + /// + /// Creates a new instance of . + /// + /// The failure mechanism section. + /// The simple assembly result of the failure mechanism section. + /// The detailed assembly result of the failure mechanism section. + /// The tailor made assembly result of the failure mechanism section. + /// The combined assembly result of the failure mechanism section. + /// Thrown when any parameter is null. + public ExportableAggregatedFailureMechanismSectionAssemblyResult(FailureMechanismSection failureMechanismSection, + ExportableSectionAssemblyResult simpleAssembly, + ExportableSectionAssemblyResult detailedAssembly, + ExportableSectionAssemblyResult tailorMadeAssembly, + ExportableSectionAssemblyResult combinedAssembly) + { + if (failureMechanismSection == null) + { + throw new ArgumentNullException(nameof(failureMechanismSection)); + } + + if (simpleAssembly == null) + { + throw new ArgumentNullException(nameof(simpleAssembly)); + } + + if (detailedAssembly == null) + { + throw new ArgumentNullException(nameof(detailedAssembly)); + } + + if (tailorMadeAssembly == null) + { + throw new ArgumentNullException(nameof(tailorMadeAssembly)); + } + + if (combinedAssembly == null) + { + throw new ArgumentNullException(nameof(combinedAssembly)); + } + + FailureMechanismSection = failureMechanismSection; + SimpleAssembly = simpleAssembly; + DetailedAssembly = detailedAssembly; + TailorMadeAssembly = tailorMadeAssembly; + CombinedAssembly = combinedAssembly; + } + + /// + /// Gets the failure mechanism section. + /// + public FailureMechanismSection FailureMechanismSection { get; } + + /// + /// Gets the simple assembly result. + /// + public ExportableSectionAssemblyResult SimpleAssembly { get; } + + /// + /// Gets the detailed assembly result. + /// + public ExportableSectionAssemblyResult DetailedAssembly { get; } + + /// + /// Gets the tailor made assembly result. + /// + public ExportableSectionAssemblyResult TailorMadeAssembly { get; } + + /// + /// Gets the combined assembly result. + /// + public ExportableSectionAssemblyResult CombinedAssembly { get; } + } +} \ No newline at end of file Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResultWithProbability.cs =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResultWithProbability.cs (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResultWithProbability.cs (revision be21f600bbe0e55f5ab9ca4a7b1162d37a1b25b2) @@ -0,0 +1,83 @@ +using System; +using Ringtoets.Common.Data.FailureMechanism; + +namespace Ringtoets.Integration.IO.Assembly +{ + /// + /// Class that holds all the information to export a failure mechanism section assembly result with probability. + /// + public class ExportableAggregatedFailureMechanismSectionAssemblyResultWithProbability + { + /// + /// Creates a new instance of . + /// + /// The failure mechanism section. + /// The simple assembly result of the failure mechanism section. + /// The detailed assembly result of the failure mechanism section. + /// The tailor made assembly result of the failure mechanism section. + /// The combined assembly result of the failure mechanism section. + /// Thrown when any parameter is null. + public ExportableAggregatedFailureMechanismSectionAssemblyResultWithProbability(FailureMechanismSection failureMechanismSection, + ExportableSectionAssemblyResultWithProbability simpleAssembly, + ExportableSectionAssemblyResultWithProbability detailedAssembly, + ExportableSectionAssemblyResultWithProbability tailorMadeAssembly, + ExportableSectionAssemblyResultWithProbability combinedAssembly) + { + if (failureMechanismSection == null) + { + throw new ArgumentNullException(nameof(failureMechanismSection)); + } + + if (simpleAssembly == null) + { + throw new ArgumentNullException(nameof(simpleAssembly)); + } + + if (detailedAssembly == null) + { + throw new ArgumentNullException(nameof(detailedAssembly)); + } + + if (tailorMadeAssembly == null) + { + throw new ArgumentNullException(nameof(tailorMadeAssembly)); + } + + if (combinedAssembly == null) + { + throw new ArgumentNullException(nameof(combinedAssembly)); + } + + FailureMechanismSection = failureMechanismSection; + SimpleAssembly = simpleAssembly; + DetailedAssembly = detailedAssembly; + TailorMadeAssembly = tailorMadeAssembly; + CombinedAssembly = combinedAssembly; + } + + /// + /// Gets the failure mechanism section. + /// + public FailureMechanismSection FailureMechanismSection { get; } + + /// + /// Gets the simple assembly result. + /// + public ExportableSectionAssemblyResultWithProbability SimpleAssembly { get; } + + /// + /// Gets the detailed assembly result. + /// + public ExportableSectionAssemblyResultWithProbability DetailedAssembly { get; } + + /// + /// Gets the tailor made assembly result. + /// + public ExportableSectionAssemblyResultWithProbability TailorMadeAssembly { get; } + + /// + /// Gets the combined assembly result. + /// + public ExportableSectionAssemblyResultWithProbability CombinedAssembly { get; } + } +} \ No newline at end of file Fisheye: Tag be21f600bbe0e55f5ab9ca4a7b1162d37a1b25b2 refers to a dead (removed) revision in file `Ringtoets/Integration/src/Ringtoets.Integration.IO/ExportableAggregatedFailureMechanismSectionAssemblyResult.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag be21f600bbe0e55f5ab9ca4a7b1162d37a1b25b2 refers to a dead (removed) revision in file `Ringtoets/Integration/src/Ringtoets.Integration.IO/ExportableAggregatedFailureMechanismSectionAssemblyResultWithProbability.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj =================================================================== diff -u -r317d9ca8e3c59fd481ec2d4183742b528241127d -rbe21f600bbe0e55f5ab9ca4a7b1162d37a1b25b2 --- Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj (.../Ringtoets.Integration.IO.csproj) (revision 317d9ca8e3c59fd481ec2d4183742b528241127d) +++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj (.../Ringtoets.Integration.IO.csproj) (revision be21f600bbe0e55f5ab9ca4a7b1162d37a1b25b2) @@ -18,8 +18,8 @@ - - + +