/// <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)); }
/// <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)); }
/// <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)); }
/// <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)); }