Skip to content

Commit 245abb8

Browse files
committed
refactor: 参数排序
1 parent bef55d7 commit 245abb8

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

src/components/BootstrapBlazor.DockView/Components/DockViewV2.razor.cs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ namespace BootstrapBlazor.Components;
1414
/// </summary>
1515
public partial class DockViewV2
1616
{
17-
/// <summary>
18-
/// <para lang="zh">获得/设置 DockView 名称,默认为 null,用于本地存储标识</para>
19-
/// <para lang="en">Gets or sets the DockView name. Default is null and it is used for local storage identification</para>
20-
/// </summary>
21-
[Parameter]
22-
[EditorRequired]
23-
[NotNull]
24-
public string? Name { get; set; }
25-
2617
/// <summary>
2718
/// <para lang="zh">获得/设置 布局配置</para>
2819
/// <para lang="en">Gets or sets the layout configuration</para>
@@ -128,6 +119,14 @@ public partial class DockViewV2
128119
[Parameter]
129120
public string? Version { get; set; }
130121

122+
/// <summary>
123+
/// <para lang="zh">获得/设置 DockView 名称,默认为 null,用于本地存储标识</para>
124+
/// <para lang="en">Gets or sets the DockView name. Default is null and it is used for local storage identification</para>
125+
/// </summary>
126+
[Parameter]
127+
[NotNull]
128+
public string? Name { get; set; }
129+
131130
/// <summary>
132131
/// <para lang="zh">获得/设置 是否启用本地存储布局,默认为 null</para>
133132
/// <para lang="en">Gets or sets whether local storage layout is enabled. Default is null</para>

0 commit comments

Comments
 (0)