Skip to content
Iuga Alexandru edited this page Sep 6, 2018 · 28 revisions

What is it?

ConsoleTools is a set of tools and "controls" for the .net Console that help reading and displaying data from/to the user.

Note: Until reaching the version 1.0.0 the controls will NOT ensure backwards compatibility.

Bugs and feature requests

For any bug or feature request please add a new issue on GitHub.

Controls

This is a list of most important controls that are provided by this library. There is a DataGrid control that can display tabular data, there is a progress bar, a spinner, menus, etc.

All controls have configurable top and bottom margins and paddings.

Displays tabular data. Optionally, it can display a title, column headers, different types of borders, cell margins, etc.

Asks a question to the user and expects a yes/no answer.

Displays a progress bar, to show the amount of finished work.

A "loading" control to be displayed while running an asynchronous jobs for which the remaining work cannot be estimated.

A menu where the user can navigate through the items with up/down keys.

A menu where the user selects an item by typing its id.

Displays a prompter and waits for the user to type a command.

Custom text, custom unpause key, the usual top and bottom margins.

Read/Write value

Reads or writes a value from/to the console. Read Value - Write Value

Read/Write list of values:

Reads or displays a list of values from/to the user. Read List of Values - Write List of Values

Other controls:

  • ControlRepeater - Repeatedly display a specific control until it is closed.
  • Sound - A class that helps you make short sounds on specific frequencies.
  • Guardian - A class that helps you prevent multiple instances of the same application.
Clone this wiki locally