C# 클래스 NanoByte.Common.Values.Languages

Provides CultureInfos.
파일 보기 프로젝트 열기: nano-byte/common

공개 메소드들

메소드 설명
FromString ( string langCode ) : CultureInfo

Creates a CultureInfo from a ISO language code either in Windows (e.g. en-US) or Unix (e.g. en_US) format.

SetUI ( [ culture ) : void

Changes the UI language used by this process. Should be called right after startup.

This sets CultureInfo.CurrentUICulture for the current and all future threads.

비공개 메소드들

메소드 설명
GetAllKnown ( ) : IEnumerable

메소드 상세

FromString() 공개 정적인 메소드

Creates a CultureInfo from a ISO language code either in Windows (e.g. en-US) or Unix (e.g. en_US) format.
public static FromString ( string langCode ) : CultureInfo
langCode string
리턴 System.Globalization.CultureInfo

SetUI() 공개 정적인 메소드

Changes the UI language used by this process. Should be called right after startup.
This sets CultureInfo.CurrentUICulture for the current and all future threads.
public static SetUI ( [ culture ) : void
culture [
리턴 void