Class TablePrinter

Assembly: redb.Examples.dll

Simple table printer with Unicode box-drawing and color support.

public class TablePrinter

Inheritance

ObjectTablePrinter

Methods

Header(params string[])

Add header row.

public TablePrinter Header(params string[] cells)

Print()

Print table to console with colors.

public void Print()

Row(params string[])

Add data row with plain strings.

public TablePrinter Row(params string[] cells)

Row(params TableCell[])

Add data row with colored cells.

public TablePrinter Row(params TableCell[] cells)

RowWithSeparator(params string[])

Add row and mark separator after it.

public TablePrinter RowWithSeparator(params string[] cells)

Separator()

Add separator after last row.

public TablePrinter Separator()

Constructors