C# Class Validation.Validator

Mostrar archivo Open project: Confirmit/Students Class Usage Examples

Public Methods

Method 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

Method Description
IsCorrectFieldData ( string verifyingString, string pattern ) : bool

Method Details

CheckAddress() public static method

public static CheckAddress ( string adress ) : bool
adress string
return bool

CheckDate() public static method

public static CheckDate ( string day, string month, string year ) : bool
day string
month string
year string
return bool

CheckInt() public static method

public static CheckInt ( string value ) : bool
value string
return bool

CheckName() public static method

public static CheckName ( string name ) : bool
name string
return bool

CheckPolicyNumber() public static method

public static CheckPolicyNumber ( string policyNumber ) : bool
policyNumber string
return bool

CheckString() public static method

public static CheckString ( string value ) : bool
value string
return bool