Skip to content

Commit 059e2ec

Browse files
authored
doc(RenderTemplate): update comments (#7868)
1 parent 87158c7 commit 059e2ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/BootstrapBlazor/Components/BaseComponents/RenderTemplate.razor.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
namespace BootstrapBlazor.Components;
77

88
/// <summary>
9-
/// <para lang="zh">RenderTemplate component</para>
9+
/// <para lang="zh">RenderTemplate 组件</para>
1010
/// <para lang="en">RenderTemplate component</para>
1111
/// </summary>
12-
public partial class RenderTemplate
12+
public partial class RenderTemplate : ComponentBase
1313
{
1414
/// <summary>
15-
/// <para lang="zh">获得/设置 the child component</para>
15+
/// <para lang="zh">获得/设置 子组件内容</para>
1616
/// <para lang="en">Gets or sets the child component</para>
1717
/// </summary>
1818
[Parameter]
1919
public RenderFragment? ChildContent { get; set; }
2020

2121
/// <summary>
22-
/// <para lang="zh">获得/设置 the 回调 委托 for the first load</para>
22+
/// <para lang="zh">获得/设置 首次渲染回调委托</para>
2323
/// <para lang="en">Gets or sets the callback delegate for the first load</para>
2424
/// </summary>
2525
[Parameter]
@@ -40,7 +40,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
4040
}
4141

4242
/// <summary>
43-
/// <para lang="zh">Render method</para>
43+
/// <para lang="zh">触发组件重新渲染</para>
4444
/// <para lang="en">Render method</para>
4545
/// </summary>
4646
public void Render()

0 commit comments

Comments
 (0)