예제 #1
0
 static Taiwan()
 {
     _country = new CountryInfo
     {
         Country            = Country.Taiwan,
         CountryCode        = CountryCode.TW,
         CountryType        = CountryType.Region,
         BelongsToCountry   = Country.China,
         M49Code            = "158",
         Cep1CrCode         = 1_00_001_0032,
         Alpha2Code         = "TW",
         Alpha3Code         = "TWN",
         Name               = "Taiwan, China",
         ShorterForm        = "Taiwan",
         ChineseName        = "中华人民共和国台湾省",
         ChineseShorterForm = "台湾",
         Continent          = Continent.Asia,
         I18NIdentityCode   = I18N_IDENTITY_CODE,
         GetRegionEnumValue = GetRegionEnumValue,
         ExistenceCycle     = new ExistenceCycle(19491001)
     };
 }
예제 #2
0
 static Macao()
 {
     _country = new CountryInfo
     {
         Country            = Country.Macao,
         CountryCode        = CountryCode.MO,
         CountryType        = CountryType.Region,
         BelongsToCountry   = Country.China,
         M49Code            = "446",
         Cep1CrCode         = 1_00_001_0034,
         Alpha2Code         = "MO",
         Alpha3Code         = "MAC",
         Name               = "Macao, SAR China",
         ShorterForm        = "Macao",
         ChineseName        = "中华人民共和国澳门特别行政区",
         ChineseShorterForm = "澳门",
         Continent          = Continent.Asia,
         I18NIdentityCode   = I18N_IDENTITY_CODE,
         GetRegionEnumValue = _ => RegionEnumHelper.Value(_, China.EnumValues.Macao),
         ExistenceCycle     = new ExistenceCycle(19991220)
     };
 }
예제 #3
0
 static HongKong()
 {
     _country = new CountryInfo
     {
         Country            = Country.HongKong,
         CountryCode        = CountryCode.HK,
         CountryType        = CountryType.Region,
         BelongsToCountry   = Country.China,
         M49Code            = "344",
         Cep1CrCode         = 1_00_001_0033,
         Alpha2Code         = "HK",
         Alpha3Code         = "HKG",
         Name               = "Hong Kong, SAR China",
         ShorterForm        = "Hong Kong",
         ChineseName        = "中华人民共和国香港特别行政区",
         ChineseShorterForm = "香港",
         Continent          = Continent.Asia,
         I18NIdentityCode   = I18N_IDENTITY_CODE,
         GetRegionEnumValue = _ => RegionEnumHelper.Value(_, China.EnumValues.HongKong),
         ExistenceCycle     = new ExistenceCycle(19970701)
     };
 }
예제 #4
0
 static China()
 {
     _country = new CountryInfo
     {
         Country            = Country.China,
         CountryCode        = CountryCode.CN,
         CountryType        = CountryType.Country,
         BelongsToCountry   = Country.China,
         M49Code            = "156",
         Cep1CrCode         = 1_00_001,
         Alpha2Code         = "CN",
         Alpha3Code         = "CHN",
         Name               = "People's Republic of China",
         ShorterForm        = "China",
         ChineseName        = "中华人民共和国",
         ChineseShorterForm = "中国",
         Continent          = Continent.Asia,
         I18NIdentityCode   = I18N_IDENTITY_CODE,
         GetRegionEnumValue = GetRegionEnumValue,
         ExistenceCycle     = new ExistenceCycle(19491001)
     };
 }