18 references to FormattedCell
NuGet.CommandLine.XPlat (18)
Utility\FormattedCell.cs (1)
16public FormattedCell() : this(string.Empty) { }
Utility\ProjectPackagesPrintUtility.cs (15)
120p => new FormattedCell(p.PackageId), 121p => new FormattedCell(GetAutoReferenceMarker(p, printingTransitive, ref autoReferenceFlagged)), 127valueSelectors.Add(p => new FormattedCell(p?.RequestedVersion)); 131valueSelectors.Add(p => new FormattedCell(p.ResolvedVersion)); 137valueSelectors.Add(p => new FormattedCell(p.LatestVersion)); 140valueSelectors.Add(p => new FormattedCell( 142valueSelectors.Add(p => new FormattedCell( 177? new List<FormattedCell> { new FormattedCell(string.Empty, foregroundColor: null) } 185? new List<FormattedCell> { new FormattedCell(string.Empty, foregroundColor: null) } 186: vulnerabilityMetadata.Select(v => new FormattedCell(v.AdvisoryUrl?.ToString() ?? string.Empty, foregroundColor: null)); 193case 0: return new FormattedCell("Low", foregroundColor: null); // default color for low severity 194case 1: return new FormattedCell("Moderate", foregroundColor: ConsoleColor.Yellow); 195case 2: return new FormattedCell("High", foregroundColor: ConsoleColor.Red); 196case 3: return new FormattedCell("Critical", foregroundColor: ConsoleColor.Red); 199return new FormattedCell(string.Empty, foregroundColor: null);
Utility\TableParser.cs (2)
37headers.AddRange(columnHeaders.Select(h => new FormattedCell(h))); 137stringTable.Add(new FormattedCell(Environment.NewLine));