DataStandardizer.LanguageTag API reference
The public types of DataStandardizer.LanguageTag. The core types are in the DataStandardizer.LanguageTag namespace, as is SubtagRegistry; the types of its records are in the nested DataStandardizer.LanguageTag.Registry namespace.
Structures
| Type | Description |
|---|---|
| Bcp47LanguageTag | An IETF BCP 47 language tag. |
| Bcp47KeyedSubtag | A subtag introduced by a single-character key (extension and private-use subtags). |
Classes
| Type | Description |
|---|---|
| Bcp47LanguageTagBuilder | A fluent builder that composes a Bcp47LanguageTag from its subtags. |
| SubtagRegistry | A loaded copy of the IANA Language Subtag Registry. |
| SubtagRegistryRecordBase | The shared base class for every registry record. |
| SubtagRegistryTagRecordBase | The base class for the tag and subtag records. |
| SubtagRegistryTagRecord | A registry tag entry. |
| SubtagRegistrySubtagRecord | A registry subtag entry. |
| SubtagRegistryFileDateRecord | The registry’s File-Date header record. |
Enumerations
| Type | Description |
|---|---|
| LanguageTagConformance | What was checked when a language tag was created: well-formed, valid or the ISO code lists. |
| SubtagRegistryLoadOptions | Line breaks to accept, besides CRLF, when a registry is loaded. |
| SubtagRegistryRecordType | The Type of a registry record. |
Interfaces
| Type | Description |
|---|---|
| ISubtagRegistryRecord | The base contract for all registry records. |
Exceptions
| Type | Description |
|---|---|
| LanguageTagFormatException | Thrown when a language tag is not correctly formatted. |