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 :
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 ExportableAggregatedFailureMechanismSectionAssemblyResultWithProbability(ExportableFailureMechanismSection failureMechanismSection,
ExportableSectionAssemblyResultWithProbability simpleAssembly,
ExportableSectionAssemblyResultWithProbability detailedAssembly,
ExportableSectionAssemblyResultWithProbability tailorMadeAssembly,
ExportableSectionAssemblyResultWithProbability combinedAssembly)
: base(failureMechanismSection, simpleAssembly, tailorMadeAssembly, combinedAssembly)
{
if (detailedAssembly == null)
{
throw new ArgumentNullException(nameof(detailedAssembly));
}
DetailedAssembly = detailedAssembly;
}
///
/// Gets the detailed assembly result.
///
public ExportableSectionAssemblyResultWithProbability DetailedAssembly { get; }
}
}