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); }