2 writes to Width
NuGet.CommandLine.XPlat (2)
Commands\PackageSearch\Table.cs (2)
53
_columns.Add(new Column { Header = header,
Width
= header.Length });
69
_columns[i].
Width
= Math.Min(_maxColumnWidth, Math.Max(_columns[i].Width, row[i]?.Length ?? 0));
6 references to Width
NuGet.CommandLine.XPlat (6)
Commands\PackageSearch\Table.cs (6)
69
_columns[i].Width = Math.Min(_maxColumnWidth, Math.Max(_columns[i].
Width
, row[i]?.Length ?? 0));
89
PrintRow(logger, _columns.Select(c => "".PadRight(c.
Width
, '-')).ToList(), "");
98
PrintRow(logger, _columns.Select(c => "".PadRight(c.
Width
, '-')).ToList(), "");
140
for (int i = 0; i < _columns[column].
Width
; i++)
142
int CharacterIndex = subRow * _columns[column].
Width
+ i;
158
logger.LogInline("".PadRight(_columns[column].
Width
- i), color);