Exemplo n.º 1
0
        private async Task SetHomeContentAsync()
        {
            Reset();

            ShowingHtml = false;

            StarredRepos = await GithubMdService.GetMostStarredRepos(DefaultRepoUser);
        }
Exemplo n.º 2
0
        private async Task GenerateBody()
        {
            try
            {
                ConvHtml = await GithubMdService.DownloadFileAsHtmlAsync(githubUri);

                ShowingHtml = true;
            }
            catch (Exception ex)
            {
                await HandleException(ex);
            }
        }
Exemplo n.º 3
0
        private async Task GenerateNavItems()
        {
            try
            {
                var navItems = await GithubMdService.GetNavItemsAsync(githubUri);

                NavItems = navItems != null ? navItems : NavItems;
            }
            catch (Exception ex)
            {
                await HandleException(ex);
            }
        }