C# Класс SIL.CoreImpl.RegionSubtag

This class represents a region from the IANA language subtag registry.
Наследование: Subtag
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsStandardIso3166Region ( string region ) : bool

Should give the same answer as StandardTags.IsStandardIso3166Region, but more efficiently.

IsValidIso3166Region ( string region ) : bool

Should give the same answer as StandardTags.IsValidIso3166Region, but more efficiently.

RegionSubtag ( RegionSubtag subtag, string name ) : System

Initializes a new instance of the T:RegionSubtag class.

RegionSubtag ( string code, string name, bool isPrivateUse ) : System

Initializes a new instance of the T:RegionSubtag class.

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

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

Should give the same answer as StandardTags.IsStandardIso3166Region, but more efficiently.
public static IsStandardIso3166Region ( string region ) : bool
region string
Результат bool

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

Should give the same answer as StandardTags.IsValidIso3166Region, but more efficiently.
public static IsValidIso3166Region ( string region ) : bool
region string
Результат bool

RegionSubtag() публичный Метод

Initializes a new instance of the T:RegionSubtag class.
public RegionSubtag ( RegionSubtag subtag, string name ) : System
subtag RegionSubtag The subtag.
name string The name.
Результат System

RegionSubtag() публичный Метод

Initializes a new instance of the T:RegionSubtag class.
public RegionSubtag ( string code, string name, bool isPrivateUse ) : System
code string The code.
name string The name.
isPrivateUse bool if set to true this is a private use subtag.
Результат System