using System;
namespace Ringtoets.Integration.IO.Assembly
{
///
/// Class that holds all the information to export the assembly result of a failure mechanism section.
///
public class ExportableAggregatedFailureMechanismSectionAssemblyResult :
ExportableAggregatedFailureMechanismSectionAssemblyResultBase
{
///
/// 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(ExportableFailureMechanismSection failureMechanismSection,
ExportableSectionAssemblyResult simpleAssembly,
ExportableSectionAssemblyResult detailedAssembly,
ExportableSectionAssemblyResult tailorMadeAssembly,
ExportableSectionAssemblyResult combinedAssembly)
: base(failureMechanismSection, simpleAssembly, tailorMadeAssembly, combinedAssembly)
{
if (detailedAssembly == null)
{
throw new ArgumentNullException(nameof(detailedAssembly));
}
DetailedAssembly = detailedAssembly;
}
///
/// Gets the detailed assembly result.
///
public ExportableSectionAssemblyResult DetailedAssembly { get; }
}
}