SubtagRegistryRecordBase Class

Definition

Namespace: DataStandardizer.LanguageTag.Registry

The shared base for every subtag-registry record. It holds the record’s fields and renders them back to registry text.

public abstract class SubtagRegistryRecordBase : ISubtagRegistryRecord

Remarks

Records are created only when a SubtagRegistry is loaded. The constructor is internal, so the class can’t be derived from outside the package. A record never changes once it is loaded.

Properties

Property Signature Notes
Fields IReadOnlyList<KeyValuePair<string, string>> Fields { get; } The record’s fields in registry order. See ISubtagRegistryRecord.

Methods

Implicit implementation

Method Returns Notes
ToString() string Override. Renders the record’s fields as field: value lines, each ending with CRLF (RFC 5646 §3.1.1) on every platform.

Applies to

Targets netstandard1.1, netstandard2.0, and net10.0.

See also


This site uses Just the Docs, a documentation theme for Jekyll.