AnyConsole 1.0.0
See the version list below for details.
dotnet add package AnyConsole --version 1.0.0
NuGet\Install-Package AnyConsole -Version 1.0.0
<PackageReference Include="AnyConsole" Version="1.0.0" />
paket add AnyConsole --version 1.0.0
#r "nuget: AnyConsole, 1.0.0"
// Install AnyConsole as a Cake Addin #addin nuget:?package=AnyConsole&version=1.0.0 // Install AnyConsole as a Cake Tool #tool nuget:?package=AnyConsole&version=1.0.0
AnyConsole
A CSharp library that gives you better console handling for that classic ASCII look.
Description
AnyConsole was designed for server service windows, utility tooling and log output windows. It's very handy if you need static header/footers on your consoles while maintaining scrollable areas, adding visual components or more advanced input management such as mouse control. It integrates very well with TopShelf for services.
Installation
Install AnyConsole from the Package Manager Console:
PM> Install-Package AnyConsole
Visual Examples
-coming shortly-
Usage
var console = new ExtendedConsole();
console.Configure(config =>
{
config.SetStaticRow("Header", RowLocation.Top, Color.White, Color.DarkRed);
config.SetStaticRow("SubHeader", RowLocation.Top, 1, Color.White, Color.FromArgb(30, 30, 30));
config.SetStaticRow("Footer", RowLocation.Bottom, Color.White, Color.DarkBlue);
config.SetLogHistoryContainer(RowLocation.Top, 2);
});
console.WriteRow("Header", "My Game Server", ColumnLocation.Left, Color.Yellow); // show text on the left
console.WriteRow("Header", Component.Time, ColumnLocation.Right); // show the time on the right
console.WriteRow("SubHeader", "This is a test application console", ColumnLocation.Left, Color.FromArgb(60, 60, 60));
console.Start();
console.WaitForClose();
Features
- Static headers display
- Text alignment
- Keyboard/mouse event handling (windows only)
- Overrides stdout for static display of scrollable content
- Full color support thanks to Colorful integration!
- Component rendering (built-in rendered components, and custom components of your own)
- Text output formatting of logs
- Multithreaded
Components
Components allow you to easily add UI elements to your console application, that self update and render. Common usage would be a DateTime component that always displays the current time.
Built-in components
- DateTime
- Memory usage
- Drive usage
- Drive activity
- IP Address
- Network Bandwidth
Custom components
Custom components need to simply implement IComponent and it will be rendered to the display. More details to come...
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- Colorful.Console (>= 1.2.9)
-
.NETFramework 4.6
- Colorful.Console (>= 1.2.9)
-
.NETFramework 4.6.1
- Colorful.Console (>= 1.2.9)
-
.NETFramework 4.6.2
- Colorful.Console (>= 1.2.9)
-
.NETFramework 4.7
- Colorful.Console (>= 1.2.9)
-
.NETStandard 2.0
- Colorful.Console (>= 1.2.9)
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.72 | 1,719 | 6/26/2022 |
1.0.65 | 1,186 | 3/27/2020 |
1.0.64 | 462 | 3/27/2020 |
1.0.63 | 483 | 3/27/2020 |
1.0.60 | 469 | 3/27/2020 |
1.0.59 | 538 | 3/26/2020 |
1.0.58 | 529 | 3/24/2020 |
1.0.57 | 479 | 3/24/2020 |
1.0.56 | 507 | 3/24/2020 |
1.0.55 | 503 | 3/12/2020 |
1.0.54 | 494 | 3/12/2020 |
1.0.51 | 550 | 3/11/2020 |
1.0.49 | 448 | 3/11/2020 |
1.0.48 | 466 | 3/9/2020 |
1.0.47 | 488 | 3/9/2020 |
1.0.46 | 537 | 3/8/2020 |
1.0.43 | 510 | 2/18/2020 |
1.0.41 | 488 | 2/18/2020 |
1.0.39 | 1,355 | 5/3/2019 |
1.0.38 | 1,029 | 4/24/2019 |
1.0.37 | 1,049 | 3/27/2019 |
1.0.34 | 922 | 3/27/2019 |
1.0.30 | 1,120 | 3/9/2019 |
1.0.29 | 965 | 3/8/2019 |
1.0.26 | 1,317 | 2/9/2019 |
1.0.25 | 975 | 2/9/2019 |
1.0.24 | 999 | 2/9/2019 |
1.0.22 | 988 | 2/9/2019 |
1.0.21 | 1,001 | 2/9/2019 |
1.0.20 | 1,003 | 2/9/2019 |
1.0.18 | 989 | 2/9/2019 |
1.0.17 | 985 | 2/8/2019 |
1.0.14 | 994 | 2/7/2019 |
1.0.9 | 999 | 2/6/2019 |
1.0.7 | 1,032 | 1/31/2019 |
1.0.6 | 970 | 1/31/2019 |
1.0.5 | 1,098 | 1/15/2019 |
1.0.0 | 1,058 | 1/15/2019 |
A CSharp library that gives you better console handling for that classic ASCII look.