Esempio n. 1
0
 public void IsWebUrlTest_True(string url)
 {
     Assert.True(StringJudgment.IsWebUrl(url));
 }
Esempio n. 2
0
 public void IsWebUrlTest_False(string url)
 {
     Assert.False(StringJudgment.IsWebUrl(url));
 }
 /// <summary>
 /// 判断是否为 Url 路径
 /// </summary>
 /// <param name="target"></param>
 /// <returns></returns>
 public static bool IsWebUrl(this string target) => StringJudgment.IsWebUrl(target);