Frontmatec.Globalization
1.0.12
dotnet add package Frontmatec.Globalization --version 1.0.12
NuGet\Install-Package Frontmatec.Globalization -Version 1.0.12
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="Frontmatec.Globalization" Version="1.0.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Frontmatec.Globalization --version 1.0.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Frontmatec.Globalization, 1.0.12"
#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.
// Install Frontmatec.Globalization as a Cake Addin #addin nuget:?package=Frontmatec.Globalization&version=1.0.12 // Install Frontmatec.Globalization as a Cake Tool #tool nuget:?package=Frontmatec.Globalization&version=1.0.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Frontmatec.Globalization
Localizer
var localizer = serviceProvider.GetRequiredService<ILocalizer>();
localizer.CurrentCultureChanged += (s, e) => { };
localizer.CurrentCulture = "en-US";
var localized = localizer.Localize("New");
Localize Benchmark
Before caching
Method | Mean | Error | StdDev | Gen0 | Allocated |
---|---|---|---|---|---|
LocalizeResourceFound | 160.2 us | 4.10 us | 11.90 us | 28.5645 | 117.19 KB |
LocalizeNotFound | 398.4 us | 11.62 us | 34.09 us | 45.8984 | 187.5 KB |
After caching
Method | Mean | Error | StdDev | Median | Gen0 | Allocated |
---|---|---|---|---|---|---|
LocalizeResourceFound | 38.98 us | 1.239 us | 3.556 us | 38.47 us | 24.8413 | 101.56 KB |
LocalizeNotFound | 95.35 us | 2.506 us | 7.349 us | 93.30 us | 32.4707 | 132.81 KB |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
-
net9.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Frontmatec.Globalization:
Package | Downloads |
---|---|
Frontmatec.Windows
A WPF library offering styling and components to simplify the development of MVVM-based applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.