C# Class NFe.Components.CNPJ

Afficher le fichier Open project: akretion/uninfe Class Usage Examples

Méthodes publiques

Méthode Description
FormatCNPJ ( string cnpj ) : string

formata o CNPJ

ToString ( ) : string

Converte para string.

ToString ( IFormatProvider provider ) : string

gravação de dados

Validate ( string cnpj ) : bool

valida o CNPJ

Private Methods

Méthode Description
CNPJ ( string cnpj ) : System

Method Details

FormatCNPJ() public static méthode

formata o CNPJ
public static FormatCNPJ ( string cnpj ) : string
cnpj string valor a ser formatado
Résultat string

ToString() public méthode

Converte para string.
public ToString ( ) : string
Résultat string

ToString() public méthode

gravação de dados
public ToString ( IFormatProvider provider ) : string
provider IFormatProvider CurrentCulture
Résultat string

Validate() public static méthode

valida o CNPJ
public static Validate ( string cnpj ) : bool
cnpj string
Résultat bool