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