Метод | Описание | |
---|---|---|
Render ( IList |
The Render function which uses Console.Write for printing and Console.WindowWith to determine the with of the console.
|
|
Render ( IList |
The classic Render functions, which lets you supply the maximum width and the function which has to be used for printing.
|
|
TextTable ( IList |
A constructor which requires an array of Header or a class with the IList
|
|
TextTable ( IList |
A constructor which requires an array of strings or a class with the IList
|
Метод | Описание | |
---|---|---|
GetHeaderArrayOfStringArray ( IList |
A function for converting the string array into a header array, needed to fit in the constructor.
|
|
GetLongestDataEntryLength ( IList |
Gets the longest data entry length in a data set of a specific row.
|
|
GetLongestDataEntryLengthArray ( IList |
Gets the longest data entry lengths of all rows.
|
|
Trim ( Align alignment, string text, int length ) : string |
Trims the text according to length and alignment.
|
protected static GetHeaderArrayOfStringArray ( IList |
||
header | IList |
/// An array of strings |
Результат | TextTools.Header[] |
protected GetLongestDataEntryLength ( IList | ||
data | IList |
/// A data object |
row | int |
/// The row to examine |
Результат | int |
protected GetLongestDataEntryLengthArray ( IList | ||
data | IList |
/// A data object |
Результат | int[] |
public Render ( IList | ||
data | IList |
/// A data object, the second dimension must fit the header length. |
Результат | void |
public Render ( IList | ||
data | IList |
/// A data object |
outputFunction | OutputFunction |
/// A delegate to the output function |
maximumWidth | int |
/// the maximum width of the table |
Результат | void |
public TextTable ( IList |
||
header | IList |
/// A header array |
Результат | System |
public TextTable ( IList |
||
header | IList |
/// A string array |
Результат | System |
protected Trim ( Align alignment, string text, int length ) : string | ||
alignment | Align |
/// Alignment value |
text | string |
/// Text to trim |
length | int |
/// The maximum length |
Результат | string |