ThisAssembly.Strings
1.0.9
Prefix Reserved
Install-Package ThisAssembly.Strings -Version 1.0.9
dotnet add package ThisAssembly.Strings --version 1.0.9
<PackageReference Include="ThisAssembly.Strings" Version="1.0.9" />
paket add ThisAssembly.Strings --version 1.0.9
#r "nuget: ThisAssembly.Strings, 1.0.9"
// Install ThisAssembly.Strings as a Cake Addin
#addin nuget:?package=ThisAssembly.Strings&version=1.0.9
// Install ThisAssembly.Strings as a Cake Tool
#tool nuget:?package=ThisAssembly.Strings&version=1.0.9
** C# 9.0 ONLY **
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}".
Built from https://github.com/devlooped/ThisAssembly/tree/96dde2c67
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.5.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- ThisAssembly.Prerequisites (>= 1.0.9)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ThisAssembly.Strings:
Package | Downloads |
---|---|
ThisAssembly
Meta-package that includes all ThisAssembly.* packages. ** C# 9.0 ONLY ** Built from https://github.com/devlooped/ThisAssembly/tree/96dde2c67 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.9 | 6,318 | 10/21/2021 |
1.0.8 | 4,776 | 4/29/2021 |
1.0.7 | 2,313 | 3/16/2021 |
1.0.6 | 750 | 3/9/2021 |
1.0.5 | 681 | 1/30/2021 |
1.0.4 | 228 | 1/27/2021 |
1.0.3 | 1,225 | 12/15/2020 |
1.0.2 | 363 | 12/10/2020 |
1.0.1 | 343 | 12/10/2020 |
1.0.0 | 1,389 | 11/21/2020 |
1.0.0-rc.1 | 931 | 10/28/2020 |
1.0.0-rc | 616 | 10/23/2020 |
1.0.0-beta | 926 | 10/15/2020 |
1.0.0-alpha.3 | 292 | 10/8/2020 |
1.0.0-alpha.2 | 173 | 10/8/2020 |
1.0.0-alpha.1 | 168 | 10/8/2020 |
1.0.0-alpha | 661 | 10/3/2020 |
0.10.6 | 488 | 9/22/2020 |
0.10.5 | 278 | 9/21/2020 |