From 640e3d47c266fd0c093ebf64f212d4177f20a3d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E2=80=9CEditor?= Date: Thu, 21 Dec 2017 17:20:48 +0530 Subject: [PATCH] Review PhonenumberUtils API cs files Change-Id: I0f6d489c363164a6a3c5b90898f2744aa4b3ecc6 --- .../Tizen.PhonenumberUtils/PhonenumberUtils.cs | 60 +-- .../PhonenumberUtilsEnumerations.cs | 556 ++++++++++----------- 2 files changed, 308 insertions(+), 308 deletions(-) diff --git a/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs b/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs index 946338c..451f9bd 100644 --- a/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs +++ b/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.PhonenumberUtils { /// - /// The PhonenumberUtils class provides methods for parsing, formatting and normalizing phone numbers. + /// The PhonenumberUtils class provides the methods for parsing, formatting, and normalizing the phone numbers. /// /// 3 public class PhonenumberUtils : IDisposable @@ -30,8 +30,8 @@ namespace Tizen.PhonenumberUtils /// Creates a PhonenumberUtils. /// /// http://tizen.org/feature/network.telephony - /// Thrown when method failed due to invalid operation - /// Thrown when feature is not supported + /// Thrown when the method failed due to an invalid operation. + /// Thrown when the feature is not supported. /// 3 public PhonenumberUtils() { @@ -46,7 +46,7 @@ namespace Tizen.PhonenumberUtils } /// - /// Destructor + /// The destructor. /// /// 4 ~PhonenumberUtils() @@ -55,8 +55,8 @@ namespace Tizen.PhonenumberUtils } /// - /// Releases all resources used by the PhonenumberUtils. - /// It should be called after finished using of the object. + /// Releases all the resources used by the PhonenumberUtils. + /// It should be called after it has finished using the object. /// /// 3 public void Dispose() @@ -81,17 +81,17 @@ namespace Tizen.PhonenumberUtils } /// - /// Gets the location string from number, region, and language. + /// Gets the location string from the number, region, and language. /// - /// The number - /// The region of number - /// The language of location - /// The location string + /// The number. + /// The region of number. + /// The language of location. + /// The location string. /// http://tizen.org/feature/network.telephony - /// Thrown when method failed due to invalid operation - /// Thrown when feature is not supported - /// Thrown when input coordinates are invalid - /// Thrown when failed due to out of memory + /// Thrown when the method failed due to an invalid operation. + /// Thrown when the feature is not supported. + /// Thrown when the input coordinates are invalid. + /// Thrown when failed due to out of memory. /// 3 public string GetLocationFromNumber(string number, Region region, Language language) { @@ -111,14 +111,14 @@ namespace Tizen.PhonenumberUtils /// /// Gets the formatted number. /// - /// The number - /// The region of number - /// The formatted number string + /// The number. + /// The region of number. + /// The formatted number string. /// http://tizen.org/feature/network.telephony - /// Thrown when method failed due to invalid operation - /// Thrown when feature is not supported - /// Thrown when input coordinates are invalid - /// Thrown when failed due to out of memory + /// Thrown when the method failed due to an invalid operation. + /// Thrown when the feature is not supported. + /// Thrown when the input coordinates are invalid. + /// Thrown when failed due to out of memory. /// 3 public string GetFormattedNumber(string number, Region region) { @@ -138,18 +138,18 @@ namespace Tizen.PhonenumberUtils /// /// Gets the normalized number. /// - /// The number - /// The normalized number + /// The number. + /// The normalized number. /// http://tizen.org/privilege/telephony /// http://tizen.org/feature/network.telephony - /// Thrown when method failed due to invalid operation - /// Thrown when feature is not supported - /// Thrown when input coordinates are invalid - /// Thrown when failed due to out of memory - /// Thrown when application does not have proper privileges + /// Thrown when the method failed due to an invalid operation. + /// Thrown when the feature is not supported. + /// Thrown when the input coordinates are invalid. + /// Thrown when failed due to out of memory. + /// Thrown when the application does not have proper privileges. /// /// Normalized number starts with plus('+') and country code, and excludes the separators such as dash or space. - /// It is a format of E.164 standard including the country code based on current network. + /// It is a format of the E.164 standard including the country code based on the current network. /// /// 3 public string GetNormalizedNumber(string number) diff --git a/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtilsEnumerations.cs b/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtilsEnumerations.cs index f852b07..aafea15 100644 --- a/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtilsEnumerations.cs +++ b/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtilsEnumerations.cs @@ -17,1121 +17,1121 @@ namespace Tizen.PhonenumberUtils { /// - /// Enumeration for language type. + /// Enumeration for the language types. /// /// 3 public enum Language { /// - /// Amharic + /// Amharic. /// Amharic, /// - /// Arabic + /// Arabic. /// Arabic, /// - /// Belarusian + /// Belarusian. /// Belarusian, /// - /// Bulgarian + /// Bulgarian. /// Bulgarian, /// - /// Chinese + /// Chinese. /// Chinese, /// - /// Chinese (Traditional) + /// Traditional Chinese. /// ChineseTraditional, /// - /// Czech + /// Czech. /// Czech, /// - /// Dutch + /// Dutch. /// Dutch, /// - /// English + /// English. /// English, /// - /// Finnish + /// Finnish. /// Finnish, /// - /// French + /// French. /// French, /// - /// German + /// German. /// German, /// - /// Greek + /// Greek. /// Greek, /// - /// Hungarian + /// Hungarian. /// Hungarian, /// - /// Indonesian + /// Indonesian. /// Indonesian, /// - /// Italian + /// Italian. /// Italian, /// - /// Japanese + /// Japanese. /// Japanese, /// - /// Korean + /// Korean. /// Korean, /// - /// Nothern Sami + /// Nothern Sami. /// NorthernSami, /// - /// Persian + /// Persian. /// Persian, /// - /// Polish + /// Polish. /// Polish, /// - /// Portuguese + /// Portuguese. /// Portuguese, /// - /// Romanian + /// Romanian. /// Romanian, /// - /// Russian + /// Russian. /// Russian, /// - /// Serbian + /// Serbian. /// Serbian, /// - /// Spanish + /// Spanish. /// Spanish, /// - /// Swedish + /// Swedish. /// Swedish, /// - /// Thai + /// Thai. /// Thai, /// - /// Turkish + /// Turkish. /// Turkish, /// - /// Vietnamese + /// Vietnamese. /// Vietnamese, /// - /// Current System Value + /// The current system value. /// System } /// - /// Enumeration for region type. + /// Enumeration for the region types. /// /// 3 public enum Region { /// - /// Aland Islands + /// Aland Islands. /// AlandIslands, /// - /// Albania + /// Albania. /// Albania, /// - /// Algeria + /// Algeria. /// Algeria, /// - /// American Samoa + /// American Samoa. /// AmericanSamoa, /// - /// Angola + /// Angola. /// Angola, /// - /// Anguilla + /// Anguilla. /// Anguilla, /// - /// Argentina + /// Argentina. /// Argentina, /// - /// Armenia + /// Armenia. /// Armenia, /// - /// Ascension Island + /// Ascension Island. /// AscensionIsland, /// - /// Antigua and Barbuda + /// Antigua and Barbuda. /// AntiguaAndBarbuda, /// - /// Austria + /// Austria. /// Austria, /// - /// Bahamas + /// Bahamas. /// Bahamas, /// - /// Barbados + /// Barbados. /// Barbados, /// - /// Belarus + /// Belarus. /// Belarus, /// - /// Belgium + /// Belgium. /// Belgium, /// - /// Benin + /// Benin. /// Benin, /// - /// Bermuda + /// Bermuda. /// Bermuda, /// - /// Bonaire, Sint Eustatius and Saba + /// Bonaire, Sint Eustatius, and Saba. /// BonaireSintEustatiusAndSaba, /// - /// Botswana + /// Botswana. /// Botswana, /// - /// Brazil + /// Brazil. /// Brazil, /// - /// Bulgaria + /// Bulgaria. /// Bulgaria, /// - /// Burkina Faso + /// Burkina Faso. /// BurkinaFaso, /// - /// Burundi + /// Burundi. /// Burundi, /// - /// Cape Verde (Cabo Verde) + /// Cape Verde (Cabo Verde). /// CapeVerde, /// - /// Cameroon + /// Cameroon. /// Cameroon, /// - /// Canada + /// Canada. /// Canada, /// - /// Cayman Island + /// Cayman Islands. /// CaymanIsland, /// - /// Chile + /// Chile. /// Chile, /// - /// China + /// China. /// China, /// - /// Colombia + /// Colombia. /// Colombia, /// - /// Comoros + /// Comoros. /// Comoros, /// - /// Congo + /// Congo. /// Congo, /// - /// Ivory Coast (Cote d'Ivoire) + /// Ivory Coast (Cote d'Ivoire). /// IvoryCoast, /// - /// Cuba + /// Cuba. /// Cuba, /// - /// Curacao + /// Curacao. /// Curacao, /// /// Czech Republic - /// + /// . CzechRepublic, /// - /// Congo, Democratic Republic of the + /// Democratic Republic of the Congo. /// DemocraticRepublicOfTheCongo, /// - /// Dominica + /// Dominica. /// Dominica, /// - /// Dominican Republic + /// Dominican Republic. /// DominicanRepublic, /// - /// Egypt + /// Egypt. /// Egypt, /// - /// Estonia + /// Estonia. /// Estonia, /// - /// Ethiopia + /// Ethiopia. /// Ethiopia, /// - /// Finland + /// Finland. /// Finland, /// - /// France + /// France. /// France, /// - /// Gabon + /// Gabon. /// Gabon, /// - /// Gambia + /// Gambia. /// Gambia, /// - /// Germany + /// Germany. /// Germany, /// - /// Ghana + /// Ghana. /// Ghana, /// - /// Greece + /// Greece. /// Greece, /// - /// Greenland + /// Greenland. /// Greenland, /// - /// Grenada + /// Grenada. /// Grenada, /// - /// Guam + /// Guam. /// Guam, /// - /// Guernsey + /// Guernsey. /// Guernsey, /// - /// Guinea + /// Guinea. /// Guinea, /// - /// Guinea-Bissau + /// Guinea-Bissau. /// GuineaBissau, /// - /// Hungary + /// Hungary. /// Hungary, /// - /// Iceland + /// Iceland. /// Iceland, /// - /// India + /// India. /// India, /// - /// Indonesia + /// Indonesia. /// Indonesia, /// - /// Ireland + /// Ireland. /// Ireland, /// - /// Iran, Islamic Republic of + /// Islamic Republic of Iran. /// Iran, /// - /// Isle of Man + /// Isle of Man. /// IsleOfMan, /// - /// Italy + /// Italy. /// Italy, /// - /// Jamaica + /// Jamaica. /// Jamaica, /// - /// Japan + /// Japan. /// Japan, /// - /// Jersey + /// Jersey. /// Jersey, /// - /// Jordan + /// Jordan. /// Jordan, /// - /// Kazakhstan + /// Kazakhstan. /// Kazakhstan, /// - /// Kenya + /// Kenya. /// Kenya, /// - /// Kiribati + /// Kiribati. /// Kiribati, /// - /// Latvia + /// Latvia. /// Latvia, /// - /// Lesotho + /// Lesotho. /// Lesotho, /// - /// Lithuania + /// Lithuania. /// Lithuania, /// - /// Luxembourg + /// Luxembourg. /// Luxembourg, /// - /// Madagascar + /// Madagascar. /// Madagascar, /// - /// Mauritania + /// Mauritania. /// Mauritania, /// - /// Mauritius + /// Mauritius. /// Mauritius, /// - /// Montserrat + /// Montserrat. /// Montserrat, /// - /// Morocco + /// Morocco. /// Morocco, /// - /// Mozambique + /// Mozambique. /// Mozambique, /// - /// Namibia + /// Namibia. /// Namibia, /// - /// Netherlands + /// Netherlands. /// Netherlands, /// - /// Nigeria + /// Nigeria. /// Nigeria, /// - /// Northern Mariana Islands + /// Northern Mariana Islands. /// NorthernMarianaIslands, /// - /// Norway + /// Norway. /// Norway, /// - /// Peru + /// Peru. /// Peru, /// - /// Poland + /// Poland. /// Poland, /// - /// Portugal + /// Portugal. /// Portugal, /// - /// Puerto Rico + /// Puerto Rico. /// PuertoRico, /// - /// Korea (Republic of) + /// Republic of Korea. /// Korea, /// - /// Moldova (Republic of) + /// Republic of Moldova. /// Moldova, /// - /// Romania + /// Romania. /// Romania, /// - /// Russian Federation + /// Russian Federation. /// RussianFederation, /// - /// Saint Helena, Ascension and Tristan da Cunha + /// Saint Helena, Ascension and Tristan da Cunha. /// SaintHelena, /// - /// Saint Kitts and Nevis + /// Saint Kitts and Nevis. /// SaintKittsAndNevis, /// - /// Saint Lucia + /// Saint Lucia. /// SaintLucia, /// - /// Saint Vincent and the Grenadines + /// Saint Vincent and the Grenadines. /// SaintVicentAndTheGrenadines, /// - /// Saint Thomas And Principe (Sao Tome and Principe) + /// Saint Thomas And Principe (Sao Tome and Principe). /// SaintThomasAndPrincipe, /// - /// Saudi Arabia + /// Saudi Arabia. /// SaudiArabia, /// - /// Senegal + /// Senegal. /// Senegal, /// - /// Serbia + /// Serbia. /// Serbia, /// - /// Sierra Leone + /// Sierra Leone. /// SierraLeone, /// - /// Saint Martin (Sint Maarten), Dutch part + /// Saint Martin (Sint Maarten), Dutch part. /// SintMaarten, /// - /// Slovakia + /// Slovakia. /// Slovakia, /// - /// Somalia + /// Somalia. /// Somalia, /// - /// South Africa + /// South Africa. /// SouthAfrica, /// - /// Spain + /// Spain. /// Spain, /// - /// Sri Lanka + /// Sri Lanka. /// SriLanka, /// - /// Sudan + /// Sudan. /// Sudan, /// - /// Svalbard and Jan Mayen + /// Svalbard and Jan Mayen. /// SvalbardAndJanMayen, /// - /// Swaziland + /// Swaziland. /// Swaziland, /// - /// Sweden + /// Sweden. /// Sweden, /// - /// Switzerland + /// Switzerland. /// Switzerland, /// - /// Taiwan, Province of China + /// Taiwan, Province of China. /// Taiwan, /// - /// Thailand + /// Thailand. /// Thailand, /// - /// Macedonia (the Former Yugoslav Republic of) + /// The Former Yugoslav Republic of Macedonia. /// Macedonia, /// - /// Togo + /// Togo. /// Togo, /// - /// Trinidad and Tobago + /// Trinidad and Tobago. /// TrinidadAndTobago, /// - /// Tristan da Cunha + /// Tristan da Cunha. /// TristanDaCunha, /// - /// Tunisia + /// Tunisia. /// Tunisia, /// - /// Turkey + /// Turkey. /// Turkey, /// - /// Turks and Caicos Islands + /// Turks and Caicos Islands. /// TurksAndCaicosIslands, /// - /// Uganda + /// Uganda. /// Uganda, /// - /// United Kingdom + /// United Kingdom. /// UnitedKingdom, /// - /// United States of America + /// United States of America. /// UnitedStatesOfAmerica, /// - /// Venezuela + /// Venezuela. /// Venezuela, /// - /// Viet Nam + /// Viet Nam. /// VietNam, /// - /// Virgin Island (British) + /// British Virgin Islands. /// VirginIslandBritish, /// - /// Virgin Island (U.S.) + /// U.S. Virgin Islands. /// VirginIslandUs, /// - /// Western Sahara + /// Western Sahara. /// WesternSahara, /// - /// Zambia + /// Zambia. /// Zambia, /// - /// Zimbabwe + /// Zimbabwe. /// Zimbabwe, /// - /// Andorra + /// Andorra. /// Andorra, /// - /// United Arab Emirates + /// United Arab Emirates. /// UnitedArabEmirates, /// - /// Afghanistan + /// Afghanistan. /// Afghanistan, /// - /// Australia + /// Australia. /// Australia, /// - /// Aruba + /// Aruba. /// Aruba, /// - /// Azerbaijan + /// Azerbaijan. /// Azerbaijan, /// - /// Bosnia and Herzegovina + /// Bosnia and Herzegovina. /// BosniaAndHerzegovina, /// - /// Bangladesh + /// Bangladesh. /// Bangladesh, /// - /// Bahrain + /// Bahrain. /// Bahrain, /// - /// Saint Barthelemy, French Antilles + /// Saint Barthelemy, French Antilles. /// SaintBarthelemy, /// - /// Brunei Darussalam + /// Brunei Darussalam. /// BruneiDarussalam, /// - /// Bolivia + /// Bolivia. /// Bolivia, /// - /// Bhutan + /// Bhutan. /// Bhutan, /// - /// Belize + /// Belize. /// Belize, /// - /// Cocos Islands + /// Cocos Islands. /// CocosIslands, /// - /// Central African Republic + /// Central African Republic. /// CentralAfricanRepublic, /// - /// Cook Islands + /// Cook Islands. /// CookIslands, /// - /// Costa Rica + /// Costa Rica. /// CostaRica, /// - /// Christmas Islands + /// Christmas Islands. /// ChristmasIslands, /// - /// Cyprus + /// Cyprus. /// Cyprus, /// - /// Djibouti + /// Djibouti. /// Djibouti, /// - /// Denmark + /// Denmark. /// Denmark, /// - /// Ecuador + /// Ecuador. /// Ecuador, /// - /// Eritrea + /// Eritrea. /// Eritrea, /// - /// Fiji + /// Fiji. /// Fiji, /// - /// Falkland Islands + /// Falkland Islands. /// FalklandIslands, /// - /// Micronesia, Federated States of + /// Federated States of Micronesia. /// Micronesia, /// - /// Faroe Islands + /// Faroe Islands. /// FaroeIslands, /// - /// Georgia + /// Georgia. /// Georgia, /// - /// French Guiana + /// French Guiana. /// FrenchGuiana, /// - /// Gibraltar + /// Gibraltar. /// Gibraltar, /// - /// Guadeloupe + /// Guadeloupe. /// Guadeloupe, /// - /// Equatorial Guinea + /// Equatorial Guinea. /// EquatorialGuinea, /// - /// Guatemala + /// Guatemala. /// Guatemala, /// - /// Guyana + /// Guyana. /// Guyana, /// - /// Hong Kong + /// Hong Kong. /// HongKong, /// - /// Honduras + /// Honduras. /// Honduras, /// - /// Croatia + /// Croatia. /// Croatia, /// - /// Haiti + /// Haiti. /// Haiti, /// - /// Israel + /// Israel. /// Israel, /// - /// British Indian Ocean Territory / Diego Garcia + /// British Indian Ocean Territory/Diego Garcia. /// DiegoGarcia, /// - /// Iraq + /// Iraq. /// Iraq, /// - /// Kyrgyzstan + /// Kyrgyzstan. /// Kyrgyzstan, /// - /// Cambodia + /// Cambodia. /// Cambodia, /// - /// Korea, Dem. People's Rep. of + /// Democratic People's Republic of Korea. /// NorthKorea, /// - /// Kuwait + /// Kuwait. /// Kuwait, /// - /// Lao People's Dem. Rep. + /// Lao People's Democratic Republic. /// Laos, /// - /// Lebanon + /// Lebanon. /// Lebanon, /// - /// Liechtenstein + /// Liechtenstein. /// Liechtenstein, /// - /// Liberia + /// Liberia. /// Liberia, /// - /// Libya (Soc. People's Libyan Arab Jamahiriva) + /// Libya, The Socialist People's Libyan Arab Jamahiriva. /// Libya, /// - /// Monaco + /// Monaco. /// Monaco, /// - /// Montenegro + /// Montenegro. /// Montenegro, /// - /// Saint Martin, French part + /// Saint Martin, French part. /// SaintMartin, /// - /// Marshall Islands + /// Marshall Islands. /// MarshallIslands, /// - /// Mali + /// Mali. /// Mali, /// - /// Myanmar + /// Myanmar. /// Myanmar, /// - /// Mongolia + /// Mongolia. /// Mongolia, /// - /// Macao, China + /// Macao, China. /// Macao, /// - /// Martinique (French Dept. of) + /// French Department of Martinique. /// Martinique, /// - /// Malta + /// Malta. /// Malta, /// - /// Maldives + /// Maldives. /// Maldives, /// - /// Malawi + /// Malawi. /// Malawi, /// - /// Mexico + /// Mexico. /// Mexico, /// - /// Malaysia + /// Malaysia. /// Malaysia, /// - /// New Caledonia + /// New Caledonia. /// NewCaledonia, /// - /// Niger + /// Niger. /// Niger, /// - /// Norfolk Island + /// Norfolk Island. /// NorfolkIsland, /// - /// Nicaragua + /// Nicaragua. /// Nicaragua, /// - /// Nepal + /// Nepal. /// Nepal, /// - /// Nauru + /// Nauru. /// Nauru, /// - /// Niue + /// Niue. /// Niue, /// - /// New Zealand + /// New Zealand. /// NewZealand, /// - /// Oman + /// Oman. /// Oman, /// - /// Panama + /// Panama. /// Panama, /// - /// French Polynesia + /// French Polynesia. /// FrenchPolynesia, /// - /// Papua New Guinea + /// Papua New Guinea. /// PapuaNewGuinea, /// - /// Philippines + /// Philippines. /// Philippines, /// - /// Pakistan + /// Pakistan. /// Pakistan, /// - /// Saint Pierre and Miquelon + /// Saint Pierre and Miquelon. /// SaintPierreAndMiquelon, /// - /// Palestine + /// Palestine. /// Palestine, /// - /// Palau + /// Palau. /// Palau, /// - /// Paraguay + /// Paraguay. /// Paraguay, /// - /// Qatar + /// Qatar. /// Qatar, /// - /// Reunion + /// Reunion. /// Reunion, /// - /// Rwanda + /// Rwanda. /// Rwanda, /// - /// Solomon Islands + /// Solomon Islands. /// SolomonIslands, /// - /// Seychelles + /// Seychelles. /// Seychelles, /// - /// Singapore + /// Singapore. /// Singapore, /// - /// Slovenia + /// Slovenia. /// Slovenia, /// - /// San Marino + /// San Marino. /// SanMarino, /// - /// Suriname + /// Suriname. /// Suriname, /// - /// South Sudan + /// South Sudan. /// SouthSudan, /// - /// El Salvador + /// El Salvador. /// ElSalvador, /// - /// Syrian Arab Republic + /// Syrian Arab Republic. /// SyrianArabRepublic, /// - /// Chad + /// Chad. /// Chad, /// - /// Tajikistan + /// Tajikistan. /// Tajikistan, /// - /// Tokelau + /// Tokelau. /// Tokelau, /// - /// Timor-Leste (East Timor) + /// Timor-Leste (East Timor). /// TimorLeste, /// - /// Turkmenistan + /// Turkmenistan. /// Turkmenistan, /// - /// Tonga + /// Tonga. /// Tonga, /// - /// Tuvalu + /// Tuvalu. /// Tuvalu, /// - /// Tanzania + /// Tanzania. /// Tanzania, /// - /// Ukraine + /// Ukraine. /// Ukraine, /// - /// Uruguay + /// Uruguay. /// Uruguay, /// - /// Uzbekistan + /// Uzbekistan. /// Uzbekistan, /// - /// Vatican City + /// Vatican City. /// VaticanCity, /// - /// Vanuatu + /// Vanuatu. /// Vanuatu, /// - /// Wallis and Futuna + /// Wallis and Futuna. /// WallisAndFutuna, /// - /// Samoa + /// Samoa. /// Samoa, /// - /// Yemen + /// Yemen. /// Yemen, /// - /// Mayotte + /// Mayotte. /// Mayotte, /// - /// Current System Value + /// The current system value. /// System } -- 2.7.4