using System; using System.Collections.Generic; namespace Ringtoets.Integration.IO.Assembly { /// /// Class that holds all the information to export a collection /// of . /// public class ExportableCombinedSectionAssemblyCollection { /// /// Creates a new instance of . /// /// The sections belonging to this collection of . /// The collection of . /// Thrown when any parameter is null. public ExportableCombinedSectionAssemblyCollection(IEnumerable sections, IEnumerable combinedSectionAssemblyResults) { if (sections == null) { throw new ArgumentNullException(nameof(sections)); } if (combinedSectionAssemblyResults == null) { throw new ArgumentNullException(nameof(combinedSectionAssemblyResults)); } Sections = sections; CombinedSectionAssemblyResults = combinedSectionAssemblyResults; } /// /// Gets the sections belonging to this collection of . /// public IEnumerable Sections { get; } /// /// Gets the collection of . /// public IEnumerable CombinedSectionAssemblyResults { get; } } }