/// <summary>
        /// Initialises a new instance of the <see cref="ListSolutionsResult"/> class.
        /// </summary>
        public ListSolutionsResult(ISolutionList solutionList)
        {
            if (solutionList is null)
            {
                throw new ArgumentNullException(nameof(solutionList));
            }

            Solutions = solutionList.Solutions.Select(summary => new SolutionSummaryResult(summary)).ToList();
        }
 /// <summary>
 /// Initialises a new instance of the <see cref="ListSolutionsResult"/> class.
 /// </summary>
 public ListSolutionsResult(ISolutionList solutionList) => Solutions = solutionList.ThrowIfNull().Solutions;