コード例 #1
0
ファイル: Home.cs プロジェクト: martinmthomas/subweb
        private async Task SetHomeContentAsync()
        {
            Reset();

            ShowingHtml = false;

            StarredRepos = await GithubMdService.GetMostStarredRepos(DefaultRepoUser);
        }
コード例 #2
0
ファイル: Home.cs プロジェクト: martinmthomas/subweb
        private async Task GenerateBody()
        {
            try
            {
                ConvHtml = await GithubMdService.DownloadFileAsHtmlAsync(githubUri);

                ShowingHtml = true;
            }
            catch (Exception ex)
            {
                await HandleException(ex);
            }
        }
コード例 #3
0
ファイル: Home.cs プロジェクト: martinmthomas/subweb
        private async Task GenerateNavItems()
        {
            try
            {
                var navItems = await GithubMdService.GetNavItemsAsync(githubUri);

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