9 references to _columns
dotnet-user-jwts (9)
Helpers\ConsoleTable.cs (9)
25
_columns
.AddRange(names);
32
if (!
_columns
.Any())
37
if (
_columns
.Count != values.Length)
40
$"The number of columns in the table '{
_columns
.Count}' does not match the number of columns in the row '{values.Length}'.");
50
var maxColumnLengths =
_columns
52
.Concat(new[] {
_columns
[i] })
61
var equalColumnLengths = Math.Max((Console.WindowWidth /
_columns
.Count) - EXCESS_LENGTH_CREATED_BY_BORDERS, 5);
89
var formatRow = Enumerable.Range(0,
_columns
.Count)
93
var columnHeaders = string.Format(CultureInfo.InvariantCulture, formatRow,
_columns
.ToArray());