public SolutionListItem(ISolutionListResult item) { Id = item.SolutionId; Name = item.SolutionName; Summary = item.SolutionSummary; IsFoundation = item.IsFoundation; Supplier = new SolutionListItemSupplier(item); Capabilities = new HashSet <SolutionListItemCapability>(); }
public SolutionListItemCapability(ISolutionListResult solutionList) { if (solutionList is null) { throw new ArgumentNullException(nameof(solutionList)); } CapabilityReference = solutionList.CapabilityReference; Name = solutionList.CapabilityName; }
public SolutionListItemCapability(ISolutionListResult item) { Id = item.ThrowIfNull("Capability").CapabilityId; Name = item.CapabilityName; }
public SolutionListItemOrganisation(ISolutionListResult item) { Id = item.OrganisationId; Name = item.OrganisationName; }
/// <summary> /// Initialises a new instance of the <see cref="SolutionListItemSupplier"/> class. /// </summary> public SolutionListItemSupplier(ISolutionListResult item) { Id = item.SupplierId; Name = item.SupplierName; }