using System; using System.Collections.Generic; namespace OpenNest; /// Read-only stock settings and remaining requirements for a single candidate trial. public sealed class PlatePlacementRequest { public PlatePlacementRequest(NestPlateStock stock, IEnumerable parts) { ArgumentNullException.ThrowIfNull(stock); Stock = stock; Parts = NestJob.Own(parts); } public NestPlateStock Stock { get; } public IReadOnlyList Parts { get; } }