NightStand by Derek Chasse

<PackageReference Include="NightStand" Version="1.4.0" />

 TextTableWriter<T>

public abstract class TextTableWriter<T> : ITableWriter<T>
Implementation of ITableWriter<T> which renders to text.
public int TableMaxWidth { get; }

Gets the tables max width.

protected TextTableWriter(TextWriter writer)

Initializes a new instance of the TextTableWriter<T> class.

public void Draw(Table<T> table, IEnumerable<T> items)

public void Draw(Table<T> table, IEnumerable<T> items, TableConfig config)

protected virtual void PostInitialize()

Runs custom logic post initialization. Values relevant to rendering the table have been computed at this point.