SunamoThisApp 26.11.23.1
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
dotnet add package SunamoThisApp --version 26.11.23.1
NuGet\Install-Package SunamoThisApp -Version 26.11.23.1
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="SunamoThisApp" Version="26.11.23.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SunamoThisApp" Version="26.11.23.1" />
<PackageReference Include="SunamoThisApp" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SunamoThisApp --version 26.11.23.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SunamoThisApp, 26.11.23.1"
#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.
#:package SunamoThisApp@26.11.23.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SunamoThisApp&version=26.11.23.1
#tool nuget:?package=SunamoThisApp&version=26.11.23.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SunamoThisApp
Application identity and colored status messages for console and UI applications of the sunamo platform.
Features
- ThisApp - static class holding the application identity (name, project, event log name) and the single entry point for status messages.
- ThisApp.StatusSet - event raised for every message, so a UI application can show it (for example in a status bar).
- StatusHelperSunamo - recognizes the type of a message from its prefix (
error:,warning:,success:,info:,information:,appeal:), regardless of letter case. - TypeOfMessageTA - type of a message: Error, Warning, Information, Ordinal, Appeal, Success.
Installation
dotnet add package SunamoThisApp
Usage
using SunamoThisApp;
using SunamoThisApp._public.SunamoEnums.Enums;
ThisApp.SetName("MyApplication");
// Each message is written once, in the color of its type.
ThisApp.Info("Application started");
ThisApp.Success("Copied {0} of {1} files", "3", "3");
ThisApp.Warning("Low disk space");
// Errors go to the standard error stream.
ThisApp.Error("Connection failed");
// The prefix decides the type of the message.
ThisApp.StatusFromText("error:Something went wrong");
// UI applications subscribe to the event instead of reading the console.
ThisApp.StatusSet += (typeOfMessage, message) => statusBar.Text = message;
The text is a composite format string only when arguments are passed, so a message with braces (for example a piece of JSON) is written as is.
ThisApp.Name is null until the application sets it.
Target frameworks
net10.0, net9.0, net8.0, netstandard2.0
Links
License
MIT
Contact
Request for new features / bug report: Mail or on GitHub
Test coverage
| Metric | Value |
|---|---|
| Method | static |
| Test projects | 1 |
| Public types referenced by tests | 0/3 (0.0 %) |
| Public methods referenced by tests | 0/13 (0.0 %) |
| Line coverage | n/a |
| Branch coverage | n/a |
| Generated (UTC) | 2026-11-22 21:24 |
| 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 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 | net461 was computed. net462 was computed. net463 was computed. net47 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
-
net10.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 |
|---|---|---|
| 26.11.23.1 | 0 | 11/23/2026 |
| 26.7.28.1 | 164 | 7/28/2026 |
| 26.5.18.4 | 162 | 5/18/2026 |
| 26.3.28.3 | 180 | 3/28/2026 |
| 26.2.7.2 | 157 | 2/7/2026 |
| 26.2.5.1 | 154 | 2/5/2026 |
| 26.1.1.1 | 238 | 1/1/2026 |
| 25.12.31.2 | 148 | 12/31/2025 |
| 25.12.31.1 | 157 | 12/31/2025 |
| 25.12.21.1 | 242 | 12/21/2025 |
| 25.6.7.1 | 292 | 6/7/2025 |
| 25.3.29.1 | 209 | 3/29/2025 |
| 24.11.11.1 | 237 | 11/11/2024 |
| 24.11.9.1 | 222 | 11/9/2024 |
| 24.9.20.1 | 224 | 9/20/2024 |
| 24.8.6.1 | 230 | 8/6/2024 |
| 24.7.16.1 | 243 | 7/16/2024 |
| 24.7.15.1 | 219 | 7/15/2024 |
| 24.7.12.1 | 247 | 7/12/2024 |
| 24.7.9.1 | 207 | 7/9/2024 |
Loading failed