C# Class PhoneNumbers.NumberFormat.Builder

Show file Open project: aidanbebbington/libphonenumber-csharp Class Usage Examples

Public Methods

Method Description
AddLeadingDigitsPattern ( string value ) : Builder
AddRangeLeadingDigitsPattern ( scg values ) : Builder
Build ( ) : NumberFormat
BuildPartial ( ) : NumberFormat
Builder ( )
Clear ( ) : Builder
ClearDomesticCarrierCodeFormattingRule ( ) : Builder
ClearFormat ( ) : Builder
ClearLeadingDigitsPattern ( ) : Builder
ClearNationalPrefixFormattingRule ( ) : Builder
ClearNationalPrefixOptionalWhenFormatting ( ) : Builder
ClearPattern ( ) : Builder
Clone ( ) : Builder
GetLeadingDigitsPattern ( int index ) : string
MergeFrom ( NumberFormat other ) : Builder
SetDomesticCarrierCodeFormattingRule ( string value ) : Builder
SetFormat ( string value ) : Builder
SetLeadingDigitsPattern ( int index, string value ) : Builder
SetNationalPrefixFormattingRule ( string value ) : Builder
SetNationalPrefixOptionalWhenFormatting ( bool value ) : Builder
SetPattern ( string value ) : Builder

Method Details

AddLeadingDigitsPattern() public method

public AddLeadingDigitsPattern ( string value ) : Builder
value string
return Builder

AddRangeLeadingDigitsPattern() public method

public AddRangeLeadingDigitsPattern ( scg values ) : Builder
values scg
return Builder

Build() public method

public Build ( ) : NumberFormat
return NumberFormat

BuildPartial() public method

public BuildPartial ( ) : NumberFormat
return NumberFormat

Builder() public method

public Builder ( )

Clear() public method

public Clear ( ) : Builder
return Builder

ClearDomesticCarrierCodeFormattingRule() public method

public ClearDomesticCarrierCodeFormattingRule ( ) : Builder
return Builder

ClearFormat() public method

public ClearFormat ( ) : Builder
return Builder

ClearLeadingDigitsPattern() public method

public ClearLeadingDigitsPattern ( ) : Builder
return Builder

ClearNationalPrefixFormattingRule() public method

public ClearNationalPrefixFormattingRule ( ) : Builder
return Builder

ClearNationalPrefixOptionalWhenFormatting() public method

public ClearNationalPrefixOptionalWhenFormatting ( ) : Builder
return Builder

ClearPattern() public method

public ClearPattern ( ) : Builder
return Builder

Clone() public method

public Clone ( ) : Builder
return Builder

GetLeadingDigitsPattern() public method

public GetLeadingDigitsPattern ( int index ) : string
index int
return string

MergeFrom() public method

public MergeFrom ( NumberFormat other ) : Builder
other NumberFormat
return Builder

SetDomesticCarrierCodeFormattingRule() public method

public SetDomesticCarrierCodeFormattingRule ( string value ) : Builder
value string
return Builder

SetFormat() public method

public SetFormat ( string value ) : Builder
value string
return Builder

SetLeadingDigitsPattern() public method

public SetLeadingDigitsPattern ( int index, string value ) : Builder
index int
value string
return Builder

SetNationalPrefixFormattingRule() public method

public SetNationalPrefixFormattingRule ( string value ) : Builder
value string
return Builder

SetNationalPrefixOptionalWhenFormatting() public method

public SetNationalPrefixOptionalWhenFormatting ( bool value ) : Builder
value bool
return Builder

SetPattern() public method

public SetPattern ( string value ) : Builder
value string
return Builder