Example #1
0
 /// <summary>
 /// global shared object
 /// </summary>
 public static GPCountryList getShared()
 {
     if (_sharedList == null)
     {
         _sharedList = new GPCountryList();
     }
     return(_sharedList);
 }
Example #2
0
        public string getCountryName()
        {
            GPCountry ctr = GPCountryList.getShared().GetCountryByCode(countryCode);

            if (ctr != null)
            {
                return(ctr.getName());
            }
            return(string.Empty);
        }