예제 #1
0
        public string ResolveExternal(string url)
        {
            if (UriUtilities.IsAbsoluteUrl(url) || string.IsNullOrEmpty(Index.Source))
            {
                return(url);
            }

            var baseUrl = UriUtilities.GetBasePath(Index.Source);

            return(UriUtilities.UrlCombine(baseUrl, url));
        }