C# 클래스 Faker.Address

파일 보기 프로젝트 열기: AdmiringWorm/Faker.NET.Portable 1 사용 예제들

공개 메소드들

메소드 설명
BuildingNumber ( ) : string

Gets a random building number.

City ( ) : string

Gets a random city.

CityPrefix ( ) : string

Gets a random city prefix.

CitySuffix ( ) : string

Gets a random city suffix.

Country ( ) : string

Gets a random country.

CountryCode ( ) : string

Gets a random country code.

DefaultCountry ( ) : string

Gets the default country.

Latitude ( ) : double

Gets a random latitude coordinate.

Longitude ( ) : double

Gets a random longitude coordinate.

SecondaryAddress ( ) : string

Gets a random secondary address.

State ( ) : string

Gets a random state.

If the selected Culture doesn't have states, this will output a Random Country instead.

StateAbbreviation ( ) : string

Gets a random state abbreviation.

If the selected Culture doesn't have states, this will output a Random Country Abbreviation instead.

StreetAddress ( ) : string

Gets a random street address, without a Secondary address.

StreetAddress ( bool includeSecondaryAddress ) : string

Gets a random street address.

StreetName ( ) : string

Gets the name of a random street.

StreetSuffix ( ) : string

Gets a random street suffix.

TimeZone ( ) : string

Gets a random time zone.

ZipCode ( ) : string

Gets a random zip code.

메소드 상세

BuildingNumber() 공개 정적인 메소드

Gets a random building number.
public static BuildingNumber ( ) : string
리턴 string

City() 공개 정적인 메소드

Gets a random city.
public static City ( ) : string
리턴 string

CityPrefix() 공개 정적인 메소드

Gets a random city prefix.
public static CityPrefix ( ) : string
리턴 string

CitySuffix() 공개 정적인 메소드

Gets a random city suffix.
public static CitySuffix ( ) : string
리턴 string

Country() 공개 정적인 메소드

Gets a random country.
public static Country ( ) : string
리턴 string

CountryCode() 공개 정적인 메소드

Gets a random country code.
public static CountryCode ( ) : string
리턴 string

DefaultCountry() 공개 정적인 메소드

Gets the default country.
public static DefaultCountry ( ) : string
리턴 string

Latitude() 공개 정적인 메소드

Gets a random latitude coordinate.
public static Latitude ( ) : double
리턴 double

Longitude() 공개 정적인 메소드

Gets a random longitude coordinate.
public static Longitude ( ) : double
리턴 double

SecondaryAddress() 공개 정적인 메소드

Gets a random secondary address.
public static SecondaryAddress ( ) : string
리턴 string

State() 공개 정적인 메소드

Gets a random state.
If the selected Culture doesn't have states, this will output a Random Country instead.
public static State ( ) : string
리턴 string

StateAbbreviation() 공개 정적인 메소드

Gets a random state abbreviation.
If the selected Culture doesn't have states, this will output a Random Country Abbreviation instead.
public static StateAbbreviation ( ) : string
리턴 string

StreetAddress() 공개 정적인 메소드

Gets a random street address, without a Secondary address.
public static StreetAddress ( ) : string
리턴 string

StreetAddress() 공개 정적인 메소드

Gets a random street address.
public static StreetAddress ( bool includeSecondaryAddress ) : string
includeSecondaryAddress bool /// if set to include secondary address. ///
리턴 string

StreetName() 공개 정적인 메소드

Gets the name of a random street.
public static StreetName ( ) : string
리턴 string

StreetSuffix() 공개 정적인 메소드

Gets a random street suffix.
public static StreetSuffix ( ) : string
리턴 string

TimeZone() 공개 정적인 메소드

Gets a random time zone.
public static TimeZone ( ) : string
리턴 string

ZipCode() 공개 정적인 메소드

Gets a random zip code.
public static ZipCode ( ) : string
리턴 string