C# Class EixoX.Restrictions.ChaveNFe

Inheritance: System.Attribute, Restriction
Afficher le fichier Open project: EixoX/Jetfuel-CSharp

Méthodes publiques

Méthode Description
IsValid ( string chaveNfe ) : bool

Checks if a given value is a valid CPF number.

Validate ( object input ) : bool

Validates an input object as a valid CPF number or an empty value.

Private Methods

Méthode Description
CharToInt ( char c ) : int

Method Details

IsValid() public static méthode

Checks if a given value is a valid CPF number.
public static IsValid ( string chaveNfe ) : bool
chaveNfe string
Résultat bool

Validate() public méthode

Validates an input object as a valid CPF number or an empty value.
public Validate ( object input ) : bool
input object The input to validate.
Résultat bool