Esempio n. 1
0
            static private string GetUrl(string page)
            {
                StringBuilder builder = new StringBuilder(WebLinks.GithubComAntidupl);

                builder.Append("/data/help");
                if (Strings.IsCurrentRussianFamily())
                {
                    builder.Append("/russian");
                }
                else
                {
                    builder.Append("/english");
                }
                builder.Append("/index.html");
                if (page != null)
                {
                    builder.Append("?page=");
                    builder.Append(page);
                }
                return(builder.ToString());
            }
Esempio n. 2
0
            static private string GetUrl(string page)
            {
                Uri           uri     = new Uri(DataPath);
                StringBuilder builder = new StringBuilder(uri.AbsoluteUri);

                builder.Append("/help");
                if (Strings.IsCurrentRussianFamily())
                {
                    builder.Append("/russian");
                }
                else
                {
                    builder.Append("/english");
                }
                builder.Append("/index.html");
                if (page != null)
                {
                    builder.Append("?page=");
                    builder.Append(page);
                }
                return(builder.ToString());
            }