Gurtle.Providers.GoogleCode.GoogleCodeProject.FormatUrl C# (CSharp) Method

FormatUrl() private method

private FormatUrl ( string relativeUrl ) : Uri
relativeUrl string
return System.Uri
        private Uri FormatUrl(string relativeUrl)
        {
            Debug.Assert(ProjectName != null);
            var baseUrl = new Uri("http://code.google.com/p/" + ProjectName + "/");
            return string.IsNullOrEmpty(relativeUrl) ? baseUrl : new Uri(baseUrl, relativeUrl);
        }