Exemplo n.º 1
0
 /// <summary>
 /// Guid格式验证
 /// </summary>
 /// <param name="source">Guid</param>
 /// <returns></returns>
 public static bool IsPort(string source)
 {
     return(RegexHelper.IsPort(source));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 手机号格式验证
 /// </summary>
 /// <param name="source"></param>
 /// <returns></returns>
 public static bool IsMobilePhoneNumber(string source)
 {
     return(RegexHelper.IsMobilePhoneNumber(source));
 }