C# 클래스 BeauData.CultureUtility

Culture utility methods and references.
파일 보기 프로젝트 열기: BeauPrime/BeauData

공개 프로퍼티들

프로퍼티 타입 설명
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