Header menu logo B2R2

TableConfig Type

Represents the output configuration for a table. This is useful for formatting the output of console applications as we often align texts in a table-like shape.

Record fields

Record Field Description

ColumnGap

Full Usage: ColumnGap

Field type: int
Modifiers: mutable

The number of spaces between columns.

Field type: int

Columns

Full Usage: Columns

Field type: TableColumnFormat[]
Modifiers: mutable

Format of each column.

Field type: TableColumnFormat[]

Indentation

Full Usage: Indentation

Field type: int
Modifiers: mutable

The number of spaces to indent the table.

Field type: int

Instance members

Instance member Description

this.RenderRow

Full Usage: this.RenderRow

Parameters:

Renders a row of the table using the given renderer function.

oss : OutString[]
renderer : OutString -> unit

this.RenderRow

Full Usage: this.RenderRow

Parameters:

Renders a row of the table using the given renderer function.

css : ColoredString[]
renderer : ColoredString -> unit

this.RenderRow

Full Usage: this.RenderRow

Parameters:
    strs : string[]
    renderer : String -> unit

Renders a row of the table using the given renderer function.

strs : string[]
renderer : String -> unit

Static members

Static member Description

TableConfig.DefaultTwoColumn()

Full Usage: TableConfig.DefaultTwoColumn()

Returns: TableConfig

Returns the default table configuration with two columns.

Returns: TableConfig

Type something to start searching.