4 writes to Value
NuGet.CommandLine.XPlat (4)
Utility\FormattedCell.cs (1)
20Value = value ?? string.Empty;
Utility\TableParser.cs (3)
59formattedDataCell.Value = (colIndex == 0 ? "> " : "") + formattedDataCell.Value?.ToString(CultureInfo.CurrentCulture) ?? string.Empty; 84formattedDataCell.Value = (colIndex == 0 ? "> " : "") + formattedDataCell.Value?.ToString(CultureInfo.CurrentCulture) ?? string.Empty; 132dataCell.Value = " " + dataCell.Value?.PadRight(maxColumnsWidth[colIndex]) ?? string.Empty;
9 references to Value
NuGet.CommandLine.XPlat (9)
Utility\FormattedCell.cs (3)
24public bool Equals(FormattedCell other) => Value == other?.Value && ForegroundColor == other?.ForegroundColor; 32combiner.AddObject(StringComparer.Ordinal.GetHashCode(Value));
Utility\ProjectPackagesPrintUtility.cs (1)
166Console.Write(formattedCell.Value);
Utility\TableParser.cs (5)
59formattedDataCell.Value = (colIndex == 0 ? "> " : "") + formattedDataCell.Value?.ToString(CultureInfo.CurrentCulture) ?? string.Empty; 84formattedDataCell.Value = (colIndex == 0 ? "> " : "") + formattedDataCell.Value?.ToString(CultureInfo.CurrentCulture) ?? string.Empty; 132dataCell.Value = " " + dataCell.Value?.PadRight(maxColumnsWidth[colIndex]) ?? string.Empty; 157if ((formattedDataCell.Value?.Length ?? 0) > maxColumnsWidth[colIndex]) 159maxColumnsWidth[colIndex] = formattedDataCell.Value.Length;