AddressFactoryBase Class

Contains static data used for Addresses.

Definition

Namespace: Common.Core.Classes
Assembly: Common.Core (in Common.Core.dll) Version: 2.1.5
C#
public abstract class AddressFactoryBase
Inheritance
Object    AddressFactoryBase

Constructors

AddressFactoryBaseInitializes a new instance of the AddressFactoryBase class

Properties

CountriesGets a sorted list of ISO-3166 Countries.
DefaultCountryThe ISO-3166 Country code of the Address data.
The default is USA.
PostcodeCountGets the total number of Postcodes available.
PostcodesGets a list of Postcodes.
ProvincesGets a list of Provinces.
UseAlpha2Indicates whether to use Alpha-2 ISO-3166 Country codes.
The default is to use Alpha-3 codes.

Methods

CheckCountryCodeChecks whether a Country code is valid.
CheckProvinceCodeChecks whether a Province code is valid.
GetPostcodeGets the information for a Postcode.
GetProvinceNameGets the name for a Province code.
SetCountriesSets the list of Countries.

Fields

sCompareStandard string comparison for ordinal ignore case.

See Also