/// <summary>
 /// Creates a new instance of <see cref="ExportableFailureMechanismSectionAssemblyResult"/>.
 /// </summary>
 /// <param name="failureMechanismSection">The failure mechanism section.</param>
 /// <param name="assemblyGroup">The assembly group of this section.</param>
 /// <param name="probability">The probability of this section.</param>
 /// <param name="assemblyGroupAssemblyMethod">The method used to assemble the assembly group for this section.</param>
 /// <param name="probabilityAssemblyMethod">The method used to assemble the probability for this section.</param>
 /// <exception cref="ArgumentNullException">Thrown when <paramref name="failureMechanismSection"/> is <c>null</c>.</exception>
 public ExportableFailureMechanismSectionAssemblyWithProbabilityResult(ExportableFailureMechanismSection failureMechanismSection,
                                                                       FailureMechanismSectionAssemblyGroup assemblyGroup,
                                                                       double probability,
                                                                       ExportableAssemblyMethod assemblyGroupAssemblyMethod,
                                                                       ExportableAssemblyMethod probabilityAssemblyMethod)
     : base(failureMechanismSection, assemblyGroup, assemblyGroupAssemblyMethod)
 {
     Probability = probability;
     ProbabilityAssemblyMethod = probabilityAssemblyMethod;
 }
        /// <summary>
        /// Creates a new instance of <see cref="ExportableFailureMechanismSectionAssemblyResult"/>.
        /// </summary>
        /// <param name="failureMechanismSection">The failure mechanism section.</param>
        /// <param name="assemblyGroup">The assembly group of this section.</param>
        /// <param name="assemblyGroupAssemblyMethod">The method used to assemble the assembly group for this section.</param>
        /// <exception cref="ArgumentNullException">Thrown when <paramref name="failureMechanismSection"/> is <c>null</c>.</exception>
        public ExportableFailureMechanismSectionAssemblyResult(ExportableFailureMechanismSection failureMechanismSection,
                                                               FailureMechanismSectionAssemblyGroup assemblyGroup,
                                                               ExportableAssemblyMethod assemblyGroupAssemblyMethod)
        {
            if (failureMechanismSection == null)
            {
                throw new ArgumentNullException(nameof(failureMechanismSection));
            }

            FailureMechanismSection     = failureMechanismSection;
            AssemblyGroup               = assemblyGroup;
            AssemblyGroupAssemblyMethod = assemblyGroupAssemblyMethod;
        }