C# Class Street.MvxPlugins.PhoneNumbers.PhoneNumberHelper

Inheritance: IPhoneNumberHelper
Afficher le fichier Open project: kstreet/Street.MvxPlugins

Méthodes publiques

Méthode Description
FormatPhoneNumberAsYouType ( string charToAddToFormatter, string regionCodeAsIso3166Alpha2 ) : string
GetE164PhoneNumberFormat ( string phoneNumberToConvertToE164Standard, string regionCodeAsIso3166Alpha2 ) : string
GetExampleNationalPhoneNumberForCountryCode ( string regionCodeAsIso3166Alpha2 ) : string
GetNumberCharactersOnly ( string stringToMakeDigitsOnly ) : string
GetPhoneNumberCountryCodeForIsoRegion ( string regionCodeAsIso3166Alpha2 ) : string
PhoneNumberHelper ( ) : System

Private Methods

Méthode Description
ClearFormatterContent ( ) : void
FormatPhoneNumber ( char charToAddToFormatterInstance, string validatedRegionCode ) : string

Method Details

FormatPhoneNumberAsYouType() public méthode

public FormatPhoneNumberAsYouType ( string charToAddToFormatter, string regionCodeAsIso3166Alpha2 ) : string
charToAddToFormatter string
regionCodeAsIso3166Alpha2 string
Résultat string

GetE164PhoneNumberFormat() public méthode

public GetE164PhoneNumberFormat ( string phoneNumberToConvertToE164Standard, string regionCodeAsIso3166Alpha2 ) : string
phoneNumberToConvertToE164Standard string
regionCodeAsIso3166Alpha2 string
Résultat string

GetExampleNationalPhoneNumberForCountryCode() public méthode

public GetExampleNationalPhoneNumberForCountryCode ( string regionCodeAsIso3166Alpha2 ) : string
regionCodeAsIso3166Alpha2 string
Résultat string

GetNumberCharactersOnly() public static méthode

public static GetNumberCharactersOnly ( string stringToMakeDigitsOnly ) : string
stringToMakeDigitsOnly string
Résultat string

GetPhoneNumberCountryCodeForIsoRegion() public méthode

public GetPhoneNumberCountryCodeForIsoRegion ( string regionCodeAsIso3166Alpha2 ) : string
regionCodeAsIso3166Alpha2 string
Résultat string

PhoneNumberHelper() public méthode

public PhoneNumberHelper ( ) : System
Résultat System