Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Class

SystemCultureProvider

class SystemCultureProvider

Module: System.Globalization
Assembly: System.Runtime.dll
Source file: SystemCultureProvider.rvn

Inheritance: Object → SystemCultureProvider
Implements: CultureProvider

Captures the host's first preferred locale; no mutable process-wide culture.

Constructors

1 item
SystemCultureProvider() Captures the host preference via the ProcessEnvironment runtime service. Native sys-locale 0.3.2 supplies the preference; an unavailable preference is empty.

Properties

3 items
Current: Culture Selected supported culture. Swedish/Hebrew primary tags choose sv-SE/he-IL; all other names choose invariant. Implements CultureProvider.Current
IsFallback: bool True when the reported name differs from the selected bounded profile.
PreferredCultureName: string Original reported preference; empty means unavailable. It may name an unsupported culture.

Methods

5 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
Static member: FromPreference(preference: string) -> SystemCultureProvider Deterministic resolver for a reported preference; this does not modify the host.
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString