コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            WriteLiteral("\n");
#line 8 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Sitemap\_Sitemap.cshtml"

            Layout = null;
            HttpContext.Response.ContentType = "text/xml";

            var categories = await categoriesManager.GetForumCategoriesAsync();

            var topics = await topicsManager.GetAllApprovedForumTopicsAsync();

            var basePath = HttpContext.Request.Scheme + "://" +
                           HttpContext.Request.Host + HttpContext.Request.PathBase;

            var siteMapBuilder = new BlazorForum.Domain.Utilities.SEO.SitemapBuilder();
            siteMapBuilder.AddUrl(basePath, modified: DateTime.UtcNow, changeFrequency: ChangeFrequency.Weekly, priority: 1.0);
            siteMapBuilder.AddUrl(basePath + "/forums", modified: DateTime.UtcNow, changeFrequency: ChangeFrequency.Weekly, priority: 1.0);

            foreach (var category in categories)
            {
                siteMapBuilder.AddUrl(basePath + "/category/" + category.ForumCategoryId + "/" +
                                      UrlFormatting.PrepareUrlText(category.Title),
                                      modified: DateTime.UtcNow, changeFrequency: ChangeFrequency.Daily, priority: 1.0);
            }

            foreach (var topic in topics)
            {
                siteMapBuilder.AddUrl(basePath + "/topic/" + topic.ForumTopicId + "/" +
                                      UrlFormatting.PrepareUrlText(topic.Title),
                                      modified: DateTime.UtcNow, changeFrequency: ChangeFrequency.Daily, priority: 1.0);
            }



#line default
#line hidden
#line 36 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Sitemap\_Sitemap.cshtml"
            Write(Html.Raw(siteMapBuilder.ToString()));

#line default
#line hidden
        }
コード例 #2
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "ul");
            __builder.AddAttribute(1, "class", "breadcrumb blazorforum-breadcrumb");
            __builder.AddMarkupContent(2, "\n    ");
            __builder.AddMarkupContent(3, "<li class=\"breadcrumb-item\">\n        <a href=\"/forums/\">Forums</a>\n    </li>\n    ");
            __builder.OpenElement(4, "li");
            __builder.AddAttribute(5, "class", "breadcrumb-item");
            __builder.AddMarkupContent(6, "\n        ");
            __builder.AddContent(7,
#line 16 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                 _category != null && _category.Title != null ? _category.Title : ""

#line default
#line hidden
                                 );
            __builder.AddMarkupContent(8, "\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(9, "\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\n\n");
#line 20 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
            if (_category == null)
            {
#line default
#line hidden
                __builder.AddContent(11, "    ");
                __builder.OpenElement(12, "div");
                __builder.AddAttribute(13, "class", "mb-2 loading-div");
                __builder.AddMarkupContent(14, "\n        ");
                __builder.OpenElement(15, "em");
                __builder.AddMarkupContent(16, "<i class=\"oi oi-cog se-spin-icon\"></i> ");
                __builder.AddContent(17,
#line 23 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                     GeneralResources.Loading

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(18, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(19, "\n");
#line 25 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(20, "    ");
                __builder.OpenElement(21, "header");
                __builder.AddAttribute(22, "class", "forum-category-header");
                __builder.AddMarkupContent(23, "\n        ");
                __builder.OpenElement(24, "h3");
                __builder.AddContent(25,
#line 29 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                     _category.Title

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(26, "\n        ");
                __builder.OpenElement(27, "span");
                __builder.AddAttribute(28, "class", "forum-category-description");
                __builder.AddContent(29,
#line 30 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                     _category.Description

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(30, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(31, "\n");
                __builder.AddContent(32, "    ");
                __builder.OpenElement(33, "ul");
                __builder.AddAttribute(34, "class", "forum-ul");
                __builder.AddMarkupContent(35, "\n");
#line 34 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                if (_topics == null || _topics.Count == 0)
                {
#line default
#line hidden
                    __builder.AddContent(36, "            ");
                    __builder.OpenElement(37, "li");
                    __builder.AddContent(38,
#line 36 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                         GeneralResources.NoTopics

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(39, "\n");
#line 37 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                }
                else
                {
                    foreach (var topic in _topics)
                    {
#line default
#line hidden
                        __builder.AddContent(40, "                ");
                        __builder.OpenElement(41, "li");
                        __builder.AddMarkupContent(42, "\n                    ");
                        __builder.OpenElement(43, "a");
                        __builder.AddAttribute(44, "href",
#line 43 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                               String.Format("/topic/{0}/{1}",
                                                             topic.ForumTopicId, UrlFormatting.PrepareUrlText(topic.ForumTopicUrl))

#line default
#line hidden
                                               );
                        __builder.AddMarkupContent(45, "\n                        ");
                        __builder.AddContent(46,
#line 45 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                             topic.Title

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(47, " \n                        ( ");
                        __builder.AddContent(48,
#line 46 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                             _postCountList != null ? _postCountList.Where(p => p.ParentItemId == topic.ForumTopicId)
                                             .FirstOrDefault().ChildCount : 0

#line default
#line hidden
                                             );
                        __builder.AddMarkupContent(49, " )\n                    ");
                        __builder.OpenElement(50, "div");
                        __builder.AddAttribute(51, "class", "topic-blazifier");
                        __builder.AddMarkupContent(52, "\n                        Posted ");
                        __builder.AddContent(53,
#line 49 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                             Domain.Utilities.Formatting.DateTimeFormatting.RelativeDateAgo(topic.PostedDate)

#line default
#line hidden
                                             );
                        __builder.AddMarkupContent(54, "\n                        by ");
                        __builder.AddContent(55,
#line 50 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                             topic.UserName

#line default
#line hidden
                                             );
                        __builder.AddMarkupContent(56, "\n                    ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(57, "\n                ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(58, "\n");
#line 53 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                    }
                }

#line default
#line hidden
                __builder.AddContent(59, "    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(60, "\n");
                __builder.AddContent(61, "    ");
                __builder.OpenElement(62, "div");
                __builder.AddAttribute(63, "class", "text-center");
                __builder.AddMarkupContent(64, "\n        ");
                __builder.OpenElement(65, "button");
                __builder.AddAttribute(66, "class", "btn" + " btn-blazorforum" + " " + (
#line 58 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                           _loadMoreVisibility

#line default
#line hidden
                                           ));
                __builder.AddAttribute(67, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 58 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                                                                                                                                                        LoadMoreTopicsAsync

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddMarkupContent(68, "\n            ");
                __builder.AddContent(69,
#line 59 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                     GeneralResources.LoadMore

#line default
#line hidden
                                     );
                __builder.AddMarkupContent(70, "\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(71, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(72, "\n");
                __builder.AddContent(73, "    ");
                __builder.OpenElement(74, "section");
                __builder.AddAttribute(75, "class", "mt-4 mb-3");
                __builder.AddMarkupContent(76, "\n        ");
                __builder.OpenElement(77, "h4");
                __builder.AddContent(78,
#line 64 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                     GeneralResources.CreateNewTopic

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(79, "\n        ");
                __builder.OpenComponent <Microsoft.AspNetCore.Components.Authorization.AuthorizeView>(80);
                __builder.AddAttribute(81, "Authorized", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder2) => {
                    __builder2.AddMarkupContent(82, "\n                ");
                    __builder2.OpenComponent <BlazorForum.Pages.Components.Forums.TopicForm>(83);
                    __builder2.AddAttribute(84, "OnTopicAdded", new System.Action(
#line 67 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                                UpdateTopicsAsync

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(85, "ForumCatId", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32>(
#line 67 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                                id

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(86, "CurrentUserId", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 67 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                                CurrentUserId

#line default
#line hidden
                                                ));
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(87, "\n            ");
                }
                                                                                                                                                                              ));
                __builder.AddAttribute(88, "NotAuthorized", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)((context) => (__builder2) => {
                    __builder2.AddMarkupContent(89, "\n                ");
                    __builder2.OpenElement(90, "div");
                    __builder2.AddAttribute(91, "class", "alert alert-secondary");
                    __builder2.AddMarkupContent(92, "\n                    ");
                    __builder2.OpenElement(93, "span");
                    __builder2.AddAttribute(94, "class", "text-secondary");
                    __builder2.AddContent(95,
#line 71 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
                                          GeneralResources.LoginToPostTopic

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(96, "\n                ");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(97, "\n            ");
                }
                                                                                                                                                                                 ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(98, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(99, "\n");
#line 76 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\ForumCategory.razor"
            }

#line default
#line hidden
        }
コード例 #3
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 8 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
            if (_forums == null)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "div");
                __builder.AddAttribute(2, "class", "mb-2 loading-div");
                __builder.AddMarkupContent(3, "\n        ");
                __builder.OpenElement(4, "em");
                __builder.AddMarkupContent(5, "<i class=\"oi oi-cog se-spin-icon\"></i> ");
                __builder.AddContent(6,
#line 11 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                     GeneralResources.Loading

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(7, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(8, "\n");
#line 13 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
            }
            else
            {
#line default
#line hidden
#line 16 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                if (_forums.Count == 0)
                {
#line default
#line hidden
                    __builder.AddContent(9, "        ");
                    __builder.OpenElement(10, "div");
                    __builder.AddAttribute(11, "class", "alert alert-secondary");
                    __builder.AddMarkupContent(12, "\n            ");
                    __builder.OpenElement(13, "span");
                    __builder.AddAttribute(14, "class", "text-secondary");
                    __builder.AddContent(15,
#line 19 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                         GeneralResources.NoForumsFound

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(16, "\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(17, "\n");
#line 21 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                }

#line default
#line hidden
#line 21 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"

                foreach (var forum in _forums)
                {
#line default
#line hidden
                    __builder.AddContent(18, "        ");
                    __builder.OpenElement(19, "div");
                    __builder.AddAttribute(20, "class", "mb-2");
                    __builder.AddMarkupContent(21, "\n            ");
                    __builder.OpenElement(22, "header");
                    __builder.AddAttribute(23, "class", "forum-header");
                    __builder.AddMarkupContent(24, "\n                ");
                    __builder.OpenElement(25, "h3");
                    __builder.AddContent(26,
#line 26 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                         forum.Title

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(27, "\n                ");
                    __builder.OpenElement(28, "span");
                    __builder.AddAttribute(29, "class", "forum-description");
                    __builder.AddContent(30,
#line 27 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                         forum.Description

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(31, "\n            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(32, "\n\n            ");
                    __builder.OpenElement(33, "ul");
                    __builder.AddAttribute(34, "class", "forum-ul");
                    __builder.AddMarkupContent(35, "\n");
#line 31 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                    if (forum.ForumCategories.Count == 0)
                    {
#line default
#line hidden
                        __builder.AddContent(36, "                    ");
                        __builder.OpenElement(37, "li");
                        __builder.AddAttribute(38, "class", "text-muted");
                        __builder.AddContent(39,
#line 33 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                             GeneralResources.NoCategories

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(40, "\n");
#line 34 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                    }

#line default
#line hidden
#line 35 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                    foreach (var category in forum.ForumCategories)
                    {
#line default
#line hidden
                        __builder.AddContent(41, "                    ");
                        __builder.OpenElement(42, "li");
                        __builder.AddMarkupContent(43, "\n                        ");
                        __builder.OpenElement(44, "a");
                        __builder.AddAttribute(45, "href",
#line 38 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                               String.Format("/category/{0}/{1}",
                                                             category.ForumCategoryId,
                                                             UrlFormatting.PrepareUrlText(category.ForumCategoryUrl))

#line default
#line hidden
                                               );
                        __builder.AddContent(46,
#line 40 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                             category.Title

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(47, " \n                                    ( ");
                        __builder.AddContent(48,
#line 41 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                                             _topicCountList != null ? _topicCountList.Where(p => p.ParentItemId == category.ForumCategoryId)
                                             .FirstOrDefault().ChildCount : 0

#line default
#line hidden
                                             );
                        __builder.AddMarkupContent(49, " )\n                    ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(50, "\n");
#line 44 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(51, "            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(52, "\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(53, "\n");
#line 47 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Forums.razor"
                }
            }

#line default
#line hidden
        }
コード例 #4
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 13 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
            if (_topics == null)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenElement(1, "div");
                __builder.AddAttribute(2, "class", "mb-2 loading-div");
                __builder.AddMarkupContent(3, "\r\n        ");
                __builder.OpenElement(4, "em");
                __builder.AddMarkupContent(5, "<i class=\"oi oi-cog se-spin-icon\"></i> ");
                __builder.AddContent(6,
#line 16 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                     GeneralResources.Loading

#line default
#line hidden
                                     );
                __builder.CloseElement();
                __builder.AddMarkupContent(7, "\r\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(8, "\r\n");
#line 18 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
            }
            else
            {
#line default
#line hidden
#line 21 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                if (_topics.Count == 0)
                {
#line default
#line hidden
                    __builder.AddContent(9, "        ");
                    __builder.OpenElement(10, "div");
                    __builder.AddAttribute(11, "class", "alert alert-secondary");
                    __builder.AddMarkupContent(12, "\r\n            ");
                    __builder.OpenElement(13, "span");
                    __builder.AddAttribute(14, "class", "text-secondary");
                    __builder.AddContent(15,
#line 24 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                         GeneralResources.NoForumsFound

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(16, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(17, "\r\n");
#line 26 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                }

#line default
#line hidden
#line 26 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"

                foreach (var topic in _topics)
                {
#line default
#line hidden
                    __builder.AddContent(18, "        ");
                    __builder.OpenElement(19, "div");
                    __builder.AddAttribute(20, "class", "mb-2");
                    __builder.AddMarkupContent(21, "\r\n            ");
                    __builder.OpenElement(22, "header");
                    __builder.AddAttribute(23, "class", "forum-header");
                    __builder.AddMarkupContent(24, "\r\n                ");
                    __builder.OpenElement(25, "h3");
                    __builder.AddContent(26,
#line 31 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                         topic.Title

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(27, "\r\n            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(28, "\r\n\r\n            ");
                    __builder.OpenElement(29, "ul");
                    __builder.AddAttribute(30, "class", "forum-ul");
                    __builder.AddMarkupContent(31, "\r\n\r\n                ");
                    __builder.OpenElement(32, "li");
                    __builder.AddMarkupContent(33, "\r\n                    ");
                    __builder.OpenElement(34, "a");
                    __builder.AddAttribute(35, "href",
#line 37 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                           String.Format("/topic/{0}/{1}",
                                                         topic.ForumTopicId, UrlFormatting.PrepareUrlText(topic.ForumTopicUrl))

#line default
#line hidden
                                           );
                    __builder.AddMarkupContent(36, "\r\n                        ");
                    __builder.AddContent(37,
#line 39 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                         topic.Title

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(38, "\r\n                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(39, "\r\n                    ( ");
                    __builder.AddContent(40,
#line 41 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                         topic.Flags

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(41, " )\r\n                    ");
                    __builder.OpenElement(42, "div");
                    __builder.AddAttribute(43, "class", "topic-blazifier");
                    __builder.AddMarkupContent(44, "\r\n                        Posted ");
                    __builder.AddContent(45,
#line 43 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                         Domain.Utilities.Formatting.DateTimeFormatting.RelativeDateAgo(topic.PostedDate)

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(46, "\r\n                        by ");
                    __builder.AddContent(47,
#line 44 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                                         topic.UserName

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(48, "\r\n                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(49, "\r\n                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(50, "\r\n\r\n\r\n            ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(51, "\r\n        ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(52, "\r\n");
#line 51 "D:\CLASS\软件工程\大程\论坛\TeachingForum\BlazorForum\Pages\Components\Forums\Hot.razor"
                }
            }

#line default
#line hidden
        }