C# Class Qowaiv.CodeGenerator.Generators.QowaivCodeGenerator

Generator for resource files.
显示文件 Open project: Corniel/Qowaiv Class Usage Examples

Public Methods

Method Description
Generate ( DirectoryInfo dir ) : void

Generates the resource files.

QowaivCodeGenerator ( ) : System

Constructor.

Protected Methods

Method Description
GenerateCountry ( DirectoryInfo dir ) : void

Generates the country info resource file.

GenerateCountryToCurrency ( DirectoryInfo dir ) : void

Generates the country info resource file.

GenerateCurrency ( DirectoryInfo dir ) : void

Generates the country info resource file.

GenerateGender ( DirectoryInfo dir ) : void

Generates the gender resource file.

GenerateIban ( DirectoryInfo dir ) : void

Generates the IBAN pattern file.

GeneratePostalCode ( DirectoryInfo dir ) : void

Generates the PostalCode Settings file.

GenerateUnknown ( DirectoryInfo dir ) : void

Generates the gender resource file.

Private Methods

Method Description
GenerateInternetMediaType ( DirectoryInfo dir ) : void
GetIbanPattern ( string country, string bban, string checksum ) : string
GetPostalCodePattern ( string pattern, string country, bool prefix ) : string

Method Details

Generate() public method

Generates the resource files.
public Generate ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo /// The directory to write to. ///
return void

GenerateCountry() protected method

Generates the country info resource file.
protected GenerateCountry ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

GenerateCountryToCurrency() protected method

Generates the country info resource file.
protected GenerateCountryToCurrency ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

GenerateCurrency() protected method

Generates the country info resource file.
protected GenerateCurrency ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

GenerateGender() protected method

Generates the gender resource file.
protected GenerateGender ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

GenerateIban() protected method

Generates the IBAN pattern file.
protected GenerateIban ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

GeneratePostalCode() protected method

Generates the PostalCode Settings file.
protected GeneratePostalCode ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

GenerateUnknown() protected method

Generates the gender resource file.
protected GenerateUnknown ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

QowaivCodeGenerator() public method

Constructor.
public QowaivCodeGenerator ( ) : System
return System