Trustsoft.TextTables 1.0.0-rc1

This is a prerelease version of Trustsoft.TextTables.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Trustsoft.TextTables --version 1.0.0-rc1                
NuGet\Install-Package Trustsoft.TextTables -Version 1.0.0-rc1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Trustsoft.TextTables" Version="1.0.0-rc1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Trustsoft.TextTables --version 1.0.0-rc1                
#r "nuget: Trustsoft.TextTables, 1.0.0-rc1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Trustsoft.TextTables as a Cake Addin
#addin nuget:?package=Trustsoft.TextTables&version=1.0.0-rc1&prerelease

// Install Trustsoft.TextTables as a Cake Tool
#tool nuget:?package=Trustsoft.TextTables&version=1.0.0-rc1&prerelease                

Trustsoft.TextTables

Work with text tables with ease.

Main features:
  • Table indentation;
  • Table title;
  • Table footer;
  • Table ruler;
  • Column content alignment;
  • Column content indentation.

Usage:

// --- Sample #1 ---
// Default table configuration options + Title and Footer.
var t = new TextTable(["#", "Name"]);
t.Title = "Title";
t.AddRow(1, "one");
t.AddRow(2, "two");
t.AddRow(3, "three");
t.AddFooter("Footer");
t.Write();

sample #1 output

// --- Sample #2 ---
// Default table configuration options + table indent = 4.
var t = new TextTable(["#", "Name"]);
t.Options.Indent = 4;
t.AddRow(1, "one");
t.AddRow(2, "two");
t.AddRow(3, "three");
t.Write();

sample #2 output

// --- Sample #3 ---
// Default table configuration options +  Title = "Sample Title", table indent = 4, ContentIndent = 3.
var t = new TextTable(["#", "Name"]);
t.Title = "Sample Title";
t.Options.Indent = 4;
t.Options.ContentIndent = 3;
t.AddRow(1, "one");
t.AddRow(2, "two");
t.AddRow(3, "three");
t.Write();

sample #3 output

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-rc3 35 2/1/2025
1.0.0-rc2 30 1/25/2025
1.0.0-rc1 27 1/7/2025

ChangeLog
           ---------
           1.0.0-rc1 First public Nuget package version.