Ejemplo n.º 1
0
 /// <summary>
 /// Initialises a new instance of the <see cref="SolutionDashboardResult"/> class.
 /// </summary>
 public SolutionDashboardResult(ISolution solution)
 {
     if (solution != null)
     {
         Id           = solution.Id;
         Name         = solution.Name;
         SupplierName = solution.SupplierName;
         SolutionDashboardSections = new SolutionDashboardSections(solution);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initialises a new instance of the <see cref="SolutionDashboardResult"/> class.
        /// </summary>
        public SolutionDashboardResult(ISolution solution)
        {
            if (solution is null)
            {
                throw new ArgumentNullException(nameof(solution));
            }

            Id   = solution.Id;
            Name = solution.Name;
            SolutionDashboardSections = new SolutionDashboardSections(solution);
        }