public AnalysisReport(string id, string summary, string description, string category, /*string severity,*/ Exploitability exploitability, SecurityGoals threats, Uri moreDetails, string solutionRemarks = null, object additionalContent = null, params NamedLink[] relatedLinks) { if (id == null || string.IsNullOrEmpty(id)) { throw new ArgumentNullException(nameof(id)); } Id = id; Summary = summary; Description = description; Category = category; Exploitability = exploitability; //Severity = severity; ExposedSecurityGoals = threats; SolutionRemarks = solutionRemarks; RelatedLinks = relatedLinks; AdditionalContent = additionalContent; MoreDetailsUrl = moreDetails; }
public AnalysisReport(string id, string summary, string description, string category, /*string severity*/ Exploitability exploitability, SecurityGoals threats, Uri moreDetails, string solutionRemarks = null, params NamedLink[] relatedLinks) : this(id, summary, description, category, /*severity*/ exploitability, threats, moreDetails, solutionRemarks, null, relatedLinks) { }