Info
Version: | 2.0.10 |
Author(s): | kzu |
Last Update: | Tuesday, November 26, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://clarius.org/ThisAssembly |
NuGet Url: | https://www.nuget.org/packages/ThisAssembly.Strings |
Install
Install-Package ThisAssembly.Strings
dotnet add package ThisAssembly.Strings
paket add ThisAssembly.Strings
ThisAssembly.Strings Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.CSharp(>= 4.5.0)
- System.Threading.Tasks.Extensions(>= 4.5.4)
- ThisAssembly.Prerequisites(>= 1.0.5)
Tags
constants exposing string resources in .resx files or methods with the right number of
parameters for strings that use formatting parameters.
In addition, it groups constants and methods in nested classes according to an optional
underscore separator to organize strings. For example, *User_InvalidCredentials* can be
accessed with *ThisAssembly.Strings.User.InvalidCredentials* if it contains a simple string,
or as a method with the right number of parametres if its value has a format string.
Finally, format strings can use named parameters too to get more friendly parameter names,
such as "Hello {name}".
> This project uses SponsorLink to attribute sponsor status (direct, indirect or implicit). For IDE usage, sponsor status is required.
> IDE-only warnings will be emitted after a grace period otherwise.
Learn more at https://github.com/devlooped#sponsorlink.