Gcl.EssenceIsoCodes
1.1.0
dotnet add package Gcl.EssenceIsoCodes --version 1.1.0
NuGet\Install-Package Gcl.EssenceIsoCodes -Version 1.1.0
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="Gcl.EssenceIsoCodes" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Gcl.EssenceIsoCodes --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Gcl.EssenceIsoCodes, 1.1.0"
#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 Gcl.EssenceIsoCodes as a Cake Addin #addin nuget:?package=Gcl.EssenceIsoCodes&version=1.1.0 // Install Gcl.EssenceIsoCodes as a Cake Tool #tool nuget:?package=Gcl.EssenceIsoCodes&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
1. About
EssenceIsoCodes is a C# .NET 8 library that provides developers easy access to essential ISO and other standard codes, including country, currency, language, and phone codes, in .NET applications. This library is designed to be lightweight and efficient, making it easy to integrate into your projects.
2. Features and How to Use
Airport Codes
- Retrieve airport name, IATA code, ICAO code, and country code.
var _airports = await Airport.GetAirportsAsync();
Country Codes
- Get country name, two-letter code, three-letter code, and numeric code following the ISO 3166-1 standard.
var _countries = await Country.GetCountriesAsync();
Currency Codes
- Get currency name, three-letter code, and numeric code, adhering to the ISO 4217 standard.
var _currencies = await Currency.GetCurrenciesAsync();
Language Codes
- Get language name, ISO 639-1, ISO 639-2, and ISO 639-3 codes.
- Focuses on macrolanguages, which are groups of mutually intelligible speech varieties or dialect continuums without a common traditional name.
var _languages = await Language.GetLanguagesAsync();
Phone Codes
- Retrieve country code and phone code for countries, following the ITU-T E.164 standard.
var _phoneCodes = await Phone.GetPhonesAsync();
Timezones
- Get timezone information, including the tz identifier, and standard (SDT) and daylight saving (DST) UTC offsets.
var _timezones = await Timezone.GetTimezonesAsync();
3. Release Notes
19th August 2024
- Initial release.
4. Feedback
Bug reports and contributions are welcome at Project Issues.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Please refer to README.