ThisAssembly.Strings NuGet Package

This package generates a static `ThisAssembly.Strings` class with public
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}".




Got any ThisAssembly.Strings Question?





Info

Version: 1.4.3
Author(s): kzu
Last Update: Tuesday, January 30, 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)

1 package depend on this package.


Tags



STATS

must-have-score

3.9

avg-downloads-per-day

52

days-since-last-release

88