C# 클래스 Faker.Phone

Static phone class
파일 보기 프로젝트 열기: AdmiringWorm/Faker.NET.Portable

공개 메소드들

메소드 설명
CellNumber ( ) : string

Gets a random cell phone number.

Extension ( ) : string

Generates a random extension with a length of 4. (US based)

Extension ( int length ) : string

Generates a random extension with the specified length. (US based)

Number ( ) : string

Generates a random phone number with a random pattern.

Number ( string pattern ) : string

Generates a random phone number from the specified pattern.

SubscriberNumber ( ) : string

Generates a random Subscriber number. (US Based).

메소드 상세

CellNumber() 공개 정적인 메소드

Gets a random cell phone number.
public static CellNumber ( ) : string
리턴 string

Extension() 공개 정적인 메소드

Generates a random extension with a length of 4. (US based)
public static Extension ( ) : string
리턴 string

Extension() 공개 정적인 메소드

Generates a random extension with the specified length. (US based)
public static Extension ( int length ) : string
length int The extension length
리턴 string

Number() 공개 정적인 메소드

Generates a random phone number with a random pattern.
public static Number ( ) : string
리턴 string

Number() 공개 정적인 메소드

Generates a random phone number from the specified pattern.
public static Number ( string pattern ) : string
pattern string The pattern to generate a phone number from.
리턴 string

SubscriberNumber() 공개 정적인 메소드

Generates a random Subscriber number. (US Based).
public static SubscriberNumber ( ) : string
리턴 string