C# Class GlobalPhone.Format

Inheritance: Record
Mostrar archivo Open project: GlobalPhone/GlobalPhone

Public Properties

Property Type Description
NationalPrefixFormattingRule string

Public Methods

Method Description
Apply ( string nationalString, string type ) : string
Format ( object data ) : System
Match ( string nationalString, bool matchLeadingDigits = null ) : bool

Private Methods

Method Description
FirstInPattern ( string nationalString ) : string
FormatReplacementString ( string type ) : string
MatchLeadingDigits ( string nationalString ) : bool
Replace ( Regex regex, string self, string evaluator ) : string

Method Details

Apply() public method

public Apply ( string nationalString, string type ) : string
nationalString string
type string
return string

Format() public method

public Format ( object data ) : System
data object
return System

Match() public method

public Match ( string nationalString, bool matchLeadingDigits = null ) : bool
nationalString string
matchLeadingDigits bool
return bool

Property Details

NationalPrefixFormattingRule public_oe property

public string NationalPrefixFormattingRule
return string