메소드 | 설명 | |
---|---|---|
ExtractLanguageCode ( string variant ) : string |
When Language is "qaa" we embed the language name as the first private-use element (after any initial x- or embedded -x-) in the variant. Extract this and return it.
|
|
IsVariantOf ( string langTag ) : bool |
Determines whether this subtag can be used with the specified lang tag.
|
|
VariantSubtag ( |
Initializes a new instance of the T:VariantSubtag class.
|
|
VariantSubtag ( string code, string name, bool isPrivateUse, IEnumerable |
Initializes a new instance of the T:VariantSubtag class.
|
메소드 | 설명 | |
---|---|---|
RemovePrivateLanguageName ( string code ) : string |
Assuming the input is a variant which is or contains a private language name, remove it and return the rest. Return an empty string if there is nothing else.
|
public static ExtractLanguageCode ( string variant ) : string | ||
variant | string | |
리턴 | string |
public IsVariantOf ( string langTag ) : bool | ||
langTag | string | The lang tag. |
리턴 | bool |
public VariantSubtag ( |
||
subtag | The subtag. | |
name | string | The name. |
리턴 | System |
public VariantSubtag ( string code, string name, bool isPrivateUse, IEnumerable |
||
code | string | The code. |
name | string | The name. |
isPrivateUse | bool | if set to |
prefixes | IEnumerable |
The prefixes. |
리턴 | System |