Summary
A collection of Phone related resources.
- Namespace
- Faker
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["Phone"]
class Type type-node
Syntax
public static class Phone
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 |
|---|---|---|
| CellNumber |
string |
Gets a random cell phone number.
static
|
| Extension |
string |
Generates a random extension with a length of 4. (US based)
static
|
| Extension |
string |
Generates a random extension with the specified length. (US based)
static
|
| Number |
string |
Generates a random phone number with a random pattern.
static
|
| Number |
string |
Generates a random phone number from the specified pattern.
static
|
| SubscriberNumber |
string |
Generates a random Subscriber number. (US Based).
static
|