BenBurgers.InternationalStandards.Iso.IO
0.4.0
See the version list below for details.
dotnet add package BenBurgers.InternationalStandards.Iso.IO --version 0.4.0
NuGet\Install-Package BenBurgers.InternationalStandards.Iso.IO -Version 0.4.0
<PackageReference Include="BenBurgers.InternationalStandards.Iso.IO" Version="0.4.0" />
paket add BenBurgers.InternationalStandards.Iso.IO --version 0.4.0
#r "nuget: BenBurgers.InternationalStandards.Iso.IO, 0.4.0"
// Install BenBurgers.InternationalStandards.Iso.IO as a Cake Addin #addin nuget:?package=BenBurgers.InternationalStandards.Iso.IO&version=0.4.0 // Install BenBurgers.InternationalStandards.Iso.IO as a Cake Tool #tool nuget:?package=BenBurgers.InternationalStandards.Iso.IO&version=0.4.0
Contents
Introduction
Thank you for choosing this package.
The BenBurgers.InternationalStandards.Iso.IO
package contains I/O features for codes and features that belong to standards of the International Organization for Standardization (ISO).
The International Organization for Standardization (ISO) is an international standard development organization composed of representatives from the national standards organizations of member countries. The organization develops and publishes standardization in all technical and nontechnical fields other than electrical and electronic engineering.[^1]
[^1]: Wikipedia, downloaded at 31 October 2022, 23:33 CET.
You are kindly encouraged to buy the standards you use at the ISO Store in order to fund their mission.
GitHub Sponsors
If you like my contributions, please have a look at my GitHub Sponsors profile. My open source contributions are available free of charge (but subject to licenses) and the contributions are made entirely in my free time, but sponsorship would be sincerely appreciated. Thank you.
If possible, please also buy a standard from the respective Maintenance Agency or ISO itself to cover the costs of the Maintenance Agencies and the ISO in maintaining the standards.
Packages
These are the packages that concern the ISO standards:
Name | Description |
---|---|
BenBurgers.InternationalStandards.Iso |
The main package with the codes and metadata. |
BenBurgers.InternationalStandards.Iso.EFCore |
Features for storing codes using Entity Framework Core. |
BenBurgers.InternationalStandards.Iso.EFCore.SqlServer |
Features for storing codes using Entity Framework Core and SQL Server. |
BenBurgers.InternationalStandards.Iso.IO |
Features for reading Code Tables from authorities. |
BenBurgers.InternationalStandards.Iso.Json |
Features for serializing and deserializing codes in JSON. |
Please refer to NuGet to download the packages and GitHub for the source code.
Manual
Supported ISO standards
The following are the currently supported ISO standards.
Name | Description |
---|---|
ISO 639 | Language codes |
ISO 3166 | Country codes |
ISO 4217 | Currency codes |
ISO 639 language codes
ISO 639 language codes are read from a tabular file, which may be found at SIL International.
The Iso639TableReader
reads the relevant records.
Each tabular file has their own record type. The record types are mapped to the column names and their respective values.
The reader and record types may be found in the namespace:
BenBurgers.InternationalStandards.Iso.IO.Iso639
ISO 3166 country codes
The ISO 3166 country codes are read from an XML file, a sample of which may be downloaded from the ISO 3166 Maintenance Agency website. The current codes have been collected from the ISO Online Browsing Platform (OBP), although XML and CSV formats exist and may be bought from the ISO store.
BenBurgers.InternationalStandards.Iso.IO.Iso3166
ISO 4217 currency codes
ISO 4217 currency codes are read from an XML file, which may be found at SIX Financial Information AG.
The Iso4217ListOneXmlReader
reads List One.
List Two and List Three are not supported yet.
The reader and record types may be found in the namespace:
BenBurgers.InternationalStandards.Iso.IO.Iso4217
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 is compatible. 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 was computed. 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. |
-
net6.0
- BenBurgers.InternationalStandards.Iso (>= 0.4.0)
- BenBurgers.Text.Csv (>= 1.1.0)
-
net7.0
- BenBurgers.InternationalStandards.Iso (>= 0.4.0)
- BenBurgers.Text.Csv (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 0.4.0
- Added Entity Framework Core features for value converters and model builders.
- ISO 3166: Breaking change; Iso3166AlphaMode moved from JSON package to main package.
- ISO 3166: Country codes are now generated from the data from the ISO 3166 Maintenance Agency (Online Browsing Platform), some field names may have changed. Properties "Independent" and official full names and short names in some languages added.
- ISO 639, 3166, 4217: Comparers added.
- ISO 639, 3166, 4217: Added ToModel method for retrieving the full model of an ISO code.
- ISO 639, 3166, 4217: Added TryTo[ISO] method for attempting to convert a string to its ISO code equivalent, without throwing an exception if it fails.
- ISO 8601: Added ISO 8601 date and time value types, including EFCore and JSON converters.
- If .NET 6.0 use official .NET 6.0 packages, if .NET 7.0 use official .NET 7.0 packages.
Version 0.3.0
- ISO 639: Fixed bug; if an unassigned Part of ISO 639 was requested, an exception was thrown that said it was deprecated.
- ISO 639: Implemented stub for conversion from string to ISO 639 code.
- ISO 3166: Improved documentation.
- ISO 4217: Added ISO 4217 currency codes.
- ISO 4217/IO: Added ISO 4217 Input/Output for importing currency codes from authority.
- ISO 4217/JSON: Added ISO 4217 (de)serialization.
Version 0.2.0
- ISO 639: Added ISO 639 language codes.
- ISO 639/IO: Added ISO 639 Input/Output for importing Code Tables from authority.
- ISO 639/JSON: Added ISO 639 (de)serialization.
- ISO 3166/JSON: Support for reading (in addition to writing) ISO 3166 numeric code as string.
- Added support for .NET 7.0 .
Version 0.1.0
- ISO 3166: Added ISO 3166 country codes.
- ISO 3166/JSON: Added ISO 3166 (de)serialization.