Gurtle.Providers.GoogleCode.GoogleCodeProject.FormatUrl C# (CSharp) 메소드

FormatUrl() 개인적인 메소드

private FormatUrl ( string relativeUrl ) : Uri
relativeUrl string
리턴 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);
        }