示例#1
0
        private static string resolveURI(string @base, string relative)
        {
            string resolved = null;

            try
            {
                URI baseURI = new URI(@base);
                resolved = baseURI.resolve(relative).ToString();
            }
            catch (Exception)
            {
                throw DynamicError.errorResolvingURI();
            }
            return(resolved);
        }