C# Class BeauData.CultureUtility

Culture utility methods and references.
Afficher le fichier Open project: BeauPrime/BeauData

Méthodes publiques

Свойство Type Description
InvariantNumberFormat NumberFormatInfo

Méthodes publiques

Méthode Description
UseCulture ( CultureInfo inInfo ) : CultureSwapScope

Temporary swaps the current thread over to the given CultureInfo. Dispose of the returned object to restore the thread to its previous CultureInfo.

UseInvariantCulture ( ) : CultureSwapScope

Temporary swaps the current thread over to the invariant CultureInfo. Dispose of the returned object to restore the thread to its previous CultureInfo.

Method Details

UseCulture() static public méthode

Temporary swaps the current thread over to the given CultureInfo. Dispose of the returned object to restore the thread to its previous CultureInfo.
static public UseCulture ( CultureInfo inInfo ) : CultureSwapScope
inInfo CultureInfo
Résultat CultureSwapScope

UseInvariantCulture() static public méthode

Temporary swaps the current thread over to the invariant CultureInfo. Dispose of the returned object to restore the thread to its previous CultureInfo.
static public UseInvariantCulture ( ) : CultureSwapScope
Résultat CultureSwapScope

Property Details

InvariantNumberFormat static_oe public_oe property

Invariant number format. Use this to ensure consistent number serialization/deserialization across cultures.
static public NumberFormatInfo InvariantNumberFormat
Résultat NumberFormatInfo