Esempio n. 1
0
 /// <summary>Gets countries with postal codes with formatting.</summary>
 public static IEnumerable <Country> GetCountriesWithFormatting()
 {
     return(Country.GetExisting().Where(country => PostalCodeCountryInfo.GetInstance(country).HasFormatting));
 }
Esempio n. 2
0
 /// <summary>Gets countries with a single postal code value.</summary>
 public static IEnumerable <Country> GetCountriesWithSingleValue()
 {
     return(Country.GetExisting().Where(country => PostalCodeCountryInfo.GetInstance(country).IsSingleValue));
 }
Esempio n. 3
0
 /// <summary>Gets countries without a postal code system.</summary>
 public static IEnumerable <Country> GetCountriesWithoutPostalCode()
 {
     return(Country.GetExisting().Where(country => !PostalCodeCountryInfo.GetInstance(country).HasPostalCode));
 }