C# Класс BeauData.CultureUtility

Culture utility methods and references.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
InvariantNumberFormat NumberFormatInfo

Открытые методы

Метод Описание
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.

Описание методов

UseCulture() статический публичный Метод

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
Результат CultureSwapScope

UseInvariantCulture() статический публичный Метод

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
Результат CultureSwapScope

Описание свойств

InvariantNumberFormat статическое публичное свойство

Invariant number format. Use this to ensure consistent number serialization/deserialization across cultures.
static public NumberFormatInfo InvariantNumberFormat
Результат NumberFormatInfo