C# Class GlobalPhone.Territory

Inheritance: Record
Mostrar archivo Open project: Lundalogik/GlobalPhone Class Usage Examples

Public Properties

Property Type Description
Name string
NationalPattern System.Text.RegularExpressions.Regex
NationalPrefixFormattingRule string

Public Methods

Method Description
Equals ( Territory other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ParseNationalString ( string str ) : Number
Territory ( object data, Region region ) : System.Text.RegularExpressions
ToString ( ) : string

Protected Methods

Method Description
Normalize ( string str ) : string
StartsWithNationalPrefix ( string str ) : bool
StripNationalPrefix ( string str ) : string

Private Methods

Method Description
Possible ( string str ) : bool

Method Details

Equals() public method

public Equals ( Territory other ) : bool
other Territory
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Normalize() protected method

protected Normalize ( string str ) : string
str string
return string

ParseNationalString() public method

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

StartsWithNationalPrefix() protected method

protected StartsWithNationalPrefix ( string str ) : bool
str string
return bool

StripNationalPrefix() protected method

protected StripNationalPrefix ( string str ) : string
str string
return string

Territory() public method

public Territory ( object data, Region region ) : System.Text.RegularExpressions
data object
region Region
return System.Text.RegularExpressions

ToString() public method

public ToString ( ) : string
return string

Property Details

Name public_oe property

public string Name
return string

NationalPattern public_oe property

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

NationalPrefixFormattingRule public_oe property

public string NationalPrefixFormattingRule
return string