C# 클래스 LocalizedObject, SmartLocalization

파일 보기 프로젝트 열기: NiklasBorglund/SmartLocalization 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
keyTypeIdentifier string

공개 메소드들

메소드 설명
GetCleanKey ( string key ) : string

Gets the clean key. i.e the key without a type identifier "" etc.

GetCleanKey ( string key, LocalizedObjectType objectType ) : string

Gets the clean key. i.e the key without a type identifier "" etc.

GetFullKey ( string parsedKey ) : string

Gets the full key value with identifiers and everything

GetFullKey ( string parsedKey, LocalizedObjectType objectType ) : string

Gets the full key value with identifiers and everything

GetLocalizedObjectType ( string key ) : LocalizedObjectType

Gets the LocalizedObjectType of the localized object.

메소드 상세

GetCleanKey() 공개 정적인 메소드

Gets the clean key. i.e the key without a type identifier "" etc.
public static GetCleanKey ( string key ) : string
key string /// The full key with the type identifier ///
리턴 string

GetCleanKey() 공개 정적인 메소드

Gets the clean key. i.e the key without a type identifier "" etc.
public static GetCleanKey ( string key, LocalizedObjectType objectType ) : string
key string /// The key language value ///
objectType LocalizedObjectType /// The LocalizedObjectType of the key ///
리턴 string

GetFullKey() 공개 메소드

Gets the full key value with identifiers and everything
public GetFullKey ( string parsedKey ) : string
parsedKey string /// Parsed key. (Clean key originally from GetCleanKey) ///
리턴 string

GetFullKey() 공개 정적인 메소드

Gets the full key value with identifiers and everything
public static GetFullKey ( string parsedKey, LocalizedObjectType objectType ) : string
parsedKey string /// Parsed key. (Clean key originally from GetCleanKey) ///
objectType LocalizedObjectType
리턴 string

GetLocalizedObjectType() 공개 정적인 메소드

Gets the LocalizedObjectType of the localized object.
public static GetLocalizedObjectType ( string key ) : LocalizedObjectType
key string /// The language key from the .resx file ///
리턴 LocalizedObjectType

프로퍼티 상세

keyTypeIdentifier 공개적으로 정적으로 프로퍼티

All keys that are not a string will begin with this identifier for example - if the localized object is an audio file, the key will begin with regular text strings will not begin with any type of identifier
public static string keyTypeIdentifier
리턴 string