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}".


> 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.




Got any ThisAssembly.Strings Question?





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)

1 package depend on this package.


Tags



STATS

must-have-score

3.9

avg-downloads-per-day

66

days-since-last-release

28