Метод | Описание | |
---|---|---|
AppendRow ( IList rowData ) : void |
Adds a row of data to the table.
|
|
ConsoleTable ( ) : System |
Initializes a new instance of the ConsoleTable class.
|
|
InsertRow ( IList rowData ) : void |
Inser the given row data at the beginning of the table. Much the same as PrependRow().
|
|
InsertRow ( IList rowData, int rowIndex ) : void |
Insert the given row data at the given row index.
|
|
PrependRow ( IList rowData ) : void |
Prepends a row of data to the table.
|
|
SetFooters ( IList footers ) : void |
Adds footers to the table.
|
|
SetHeaders ( IList headers ) : void |
Adds headers to the table.
|
|
ToString ( ) : string |
Метод | Описание | |
---|---|---|
BuildTable ( ) : string |
Creates the table
|
|
CalculateCellLengths ( |
Calculates the maximum cell length for each column and stores it in the cellLengths array.
|
|
GetFooterLine ( ) : string |
Returns a string composed of the footers for the table
|
|
GetHeaderLine ( ) : string |
Returns a string composed of the headers for the table
|
|
GetSeparator ( ) : string |
Returns a string composed of a separator line
|
|
UpdateRowsCols ( |
Updates maxrows and maxcols values
|
|
ValidateTable ( ) : void |
public AppendRow ( IList rowData ) : void | ||
rowData | IList | An IList of the row data. |
Результат | void |
public InsertRow ( IList rowData ) : void | ||
rowData | IList | An IList of the row data. |
Результат | void |
public InsertRow ( IList rowData, int rowIndex ) : void | ||
rowData | IList | An IList of the row data. |
rowIndex | int | Row index to insert at. |
Результат | void |
public PrependRow ( IList rowData ) : void | ||
rowData | IList | An IList of the row data. |
Результат | void |
public SetFooters ( IList footers ) : void | ||
footers | IList | An IList collection of the headers. |
Результат | void |
public SetHeaders ( IList headers ) : void | ||
headers | IList | An IList collection of the headers. |
Результат | void |