Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResultWithoutDetailedAssembly.cs =================================================================== diff -u -r63a9a574f422b3a372d8abc18899e8f1fcf579bd -rb41667ee02ea1f2d7415e7f2f1fd29226d83d806 --- Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResultWithoutDetailedAssembly.cs (.../ExportableAggregatedFailureMechanismSectionAssemblyResultWithoutDetailedAssembly.cs) (revision 63a9a574f422b3a372d8abc18899e8f1fcf579bd) +++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableAggregatedFailureMechanismSectionAssemblyResultWithoutDetailedAssembly.cs (.../ExportableAggregatedFailureMechanismSectionAssemblyResultWithoutDetailedAssembly.cs) (revision b41667ee02ea1f2d7415e7f2f1fd29226d83d806) @@ -4,10 +4,10 @@ { /// /// Class that holds all the information to export an assembly result without a detailed assembly - /// of a failure mechanism section . + /// of a failure mechanism section. /// - public class ExportableAggregatedFailureMechanismSectionAssemblyResultWithoutDetailedAssembly : - ExportableAggregatedFailureMechanismSectionAssemblyResultBase + public class ExportableAggregatedFailureMechanismSectionAssemblyResultWithoutDetailedAssembly + : ExportableAggregatedFailureMechanismSectionAssemblyResultBase { /// /// Creates a new instance of . @@ -21,6 +21,41 @@ ExportableSectionAssemblyResult simpleAssembly, ExportableSectionAssemblyResult tailorMadeAssembly, ExportableSectionAssemblyResult combinedAssembly) - : base(failureMechanismSection, simpleAssembly, tailorMadeAssembly, combinedAssembly) {} + : base(failureMechanismSection) + { + if (simpleAssembly == null) + { + throw new ArgumentNullException(nameof(simpleAssembly)); + } + + if (tailorMadeAssembly == null) + { + throw new ArgumentNullException(nameof(tailorMadeAssembly)); + } + + if (combinedAssembly == null) + { + throw new ArgumentNullException(nameof(combinedAssembly)); + } + + SimpleAssembly = simpleAssembly; + TailorMadeAssembly = tailorMadeAssembly; + CombinedAssembly = combinedAssembly; + } + + /// + /// Gets the simple assembly result. + /// + public ExportableSectionAssemblyResult SimpleAssembly { 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