C# Class Validation.Validator

Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode Description
CheckAddress ( string adress ) : bool
CheckDate ( string day, string month, string year ) : bool
CheckInt ( string value ) : bool
CheckName ( string name ) : bool
CheckPolicyNumber ( string policyNumber ) : bool
CheckString ( string value ) : bool

Private Methods

Méthode Description
IsCorrectFieldData ( string verifyingString, string pattern ) : bool

Method Details

CheckAddress() public static méthode

public static CheckAddress ( string adress ) : bool
adress string
Résultat bool

CheckDate() public static méthode

public static CheckDate ( string day, string month, string year ) : bool
day string
month string
year string
Résultat bool

CheckInt() public static méthode

public static CheckInt ( string value ) : bool
value string
Résultat bool

CheckName() public static méthode

public static CheckName ( string name ) : bool
name string
Résultat bool

CheckPolicyNumber() public static méthode

public static CheckPolicyNumber ( string policyNumber ) : bool
policyNumber string
Résultat bool

CheckString() public static méthode

public static CheckString ( string value ) : bool
value string
Résultat bool