C# Class EixoX.Restrictions.ChaveNFe

Inheritance: System.Attribute, Restriction
ファイルを表示 Open project: EixoX/Jetfuel-CSharp

Public Methods

Method 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

Method Description
CharToInt ( char c ) : int

Method Details

IsValid() public static method

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

Validate() public method

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