Summary
A collection of address related resources.
- Namespace
- Faker
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["Address"]
class Type type-node
Syntax
public static class Address
Remarks
The resources are acquired by satellite assemblies matching the current thread's
System.Globalization.CultureInfo
.
If no matching satellite assembly is found, the english version is used.
Methods
Name | Value | Summary |
---|---|---|
BuildingNumber |
string |
Gets a random building number.
static
|
City |
string |
Gets a random city.
static
|
CityPrefix |
string |
Gets a random city prefix.
static
|
CitySuffix |
string |
Gets a random city suffix.
static
|
Country |
string |
Gets a random country.
static
|
CountryCode |
string |
Gets a random country code.
static
|
DefaultCountry |
string |
Gets the default country.
static
|
Latitude |
double |
Gets a random latitude coordinate.
static
|
Longitude |
double |
Gets a random longitude coordinate.
static
|
SecondaryAddress |
string |
Gets a random secondary address.
static
|
State |
string |
Gets a random state.
static
|
StateAbbreviation |
string |
Gets a random state abbreviation.
static
|
StreetAddress |
string |
Gets a random street address, without a Secondary address.
static
|
StreetAddress |
string |
Gets a random street address.
static
|
StreetName |
string |
Gets the name of a random street.
static
|
StreetSuffix |
string |
Gets a random street suffix.
static
|
TimeZone |
string |
Gets a random time zone.
static
|
ZipCode |
string |
Gets a random zip code.
static
|