C# Class GlobalPhone.GlobalPhone

Static class that holds a single Context
Mostrar archivo Open project: GlobalPhone/GlobalPhone

Private Properties

Property Type Description

Public Methods

Method Description
Normalize ( string number, string territoryName = null ) : string
Parse ( string number, string territoryName = null ) : Number
TryNormalize ( string str, string &number, string territoryName = null ) : bool
TryParse ( string str, Number &number, string territoryName = null ) : bool
Validate ( string number, string territoryName = null ) : bool

Method Details

Normalize() public static method

public static Normalize ( string number, string territoryName = null ) : string
number string
territoryName string
return string

Parse() public static method

public static Parse ( string number, string territoryName = null ) : Number
number string
territoryName string
return Number

TryNormalize() public static method

public static TryNormalize ( string str, string &number, string territoryName = null ) : bool
str string
number string
territoryName string
return bool

TryParse() public static method

public static TryParse ( string str, Number &number, string territoryName = null ) : bool
str string
number Number
territoryName string
return bool

Validate() public static method

public static Validate ( string number, string territoryName = null ) : bool
number string
territoryName string
return bool