C# Class EixoX.Restrictions.Phone

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

Méthodes publiques

Méthode Description
IsValid ( string value ) : bool

Checks if a given value is a valid Phone number.

Validate ( object input ) : bool

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

Method Details

IsValid() public static méthode

Checks if a given value is a valid Phone number.
public static IsValid ( string value ) : bool
value string The value to check for a valid Phone number.
Résultat bool

Validate() public méthode

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