C# Class GlobalPhone.Region

Inheritance: Record
Exibir arquivo Open project: Lundalogik/GlobalPhone Class Usage Examples

Public Properties

Property Type Description
CountryCode string
InternationalPrefix System.Text.RegularExpressions.Regex
NationalPrefix string
NationalPrefixForParsing System.Text.RegularExpressions.Regex
NationalPrefixTransformRule string

Public Methods

Method Description
HasTerritory ( string name ) : bool
ParseNationalString ( string @string ) : Number
Region ( object data ) : System.Collections.Generic
Territory ( string name ) : Territory

Private Methods

Method Description
FindFirstParsedNationalStringFromTerritories ( string s ) : Number
StartsWithCountryCode ( string s ) : bool
StripCountryCode ( string s ) : string
TerritoryNames ( ) : List

Method Details

HasTerritory() public method

public HasTerritory ( string name ) : bool
name string
return bool

ParseNationalString() public method

public ParseNationalString ( string @string ) : Number
@string string
return Number

Region() public method

public Region ( object data ) : System.Collections.Generic
data object
return System.Collections.Generic

Territory() public method

public Territory ( string name ) : Territory
name string
return Territory

Property Details

CountryCode public_oe property

public string CountryCode
return string

InternationalPrefix public_oe property

public Regex,System.Text.RegularExpressions InternationalPrefix
return System.Text.RegularExpressions.Regex

NationalPrefix public_oe property

public string NationalPrefix
return string

NationalPrefixForParsing public_oe property

public Regex,System.Text.RegularExpressions NationalPrefixForParsing
return System.Text.RegularExpressions.Regex

NationalPrefixTransformRule public_oe property

public string NationalPrefixTransformRule
return string