Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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));
 }