public void IsWebUrlTest_True(string url) { Assert.True(StringJudgment.IsWebUrl(url)); }
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);