Example #1
0
        override protected bool IsValidHref(string href)
        {
            if (Uri.IsWellFormedUriString(href, UriKind.Absolute))
            {
                return(true);
            }

            var parser = new UrlParser();

            return(parser.GetUrlCount(href) == 1);
        }