Exemple #1
0
 /// <summary>
 /// Validates text if it is in a valid e-mail format.
 /// </summary>
 /// <param name="text">String to be validated.</param>
 /// <param name="isMultiple">When true e-mail can be ',' or ';' seperated.</param>
 /// <returns></returns>
 public static bool IsEmail(string text, bool isMultiple)
 {
     return(TextValidator.IsEmail(text, isMultiple));
 }
Exemple #2
0
 /// <summary>
 /// Validates text if it contains only letters.
 /// </summary>
 /// <param name="text">String to be validated.</param>
 /// <returns></returns>
 public static bool IsAlphabetic(string text)
 {
     return(TextValidator.IsAlphabetic(text));
 }
Exemple #3
0
 /// <summary>
 /// Validates text if it is in a valid e-mail format.
 /// </summary>
 /// <param name="text">String to be validated.</param>
 /// <returns></returns>
 public static bool IsEmail(string text)
 {
     return(TextValidator.IsEmail(text));
 }
Exemple #4
0
 /// <summary>
 /// Validates text if it contains only numbers.
 /// </summary>
 /// <param name="text">String to be validated.</param>
 /// <returns></returns>
 public static bool IsNumeric(string text)
 {
     return(TextValidator.IsNumeric(text));
 }