Table of Contents

Class CultureUtil

Namespace
Hi.Common
Assembly
HiGeom.dll

The English culture the engine formats and parses with, and the one call that pins a thread to it.

public static class CultureUtil
Inheritance
CultureUtil
Inherited Members

Properties

English

English, with NaNSymbol forced to “NaN” so a non-finite value round-trips through text.

public static CultureInfo English { get; }

Property Value

CultureInfo

Remarks

Read-only, and safe to hand to APIs that keep the reference: ASP.NET request localization matches by name and returns ReadOnly(CultureInfo) clones, which preserve the patched symbol.

Methods

SetCurrentCultureEn()

Pins the calling thread to English.

public static void SetCurrentCultureEn()