Skip to content

Commit fedbfa4

Browse files
committed
doc: 更新注释为英文
1 parent f5d6e1f commit fedbfa4

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/BootstrapBlazor/Options/TableExportOptions.cs

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,45 @@
88
namespace BootstrapBlazor.Components;
99

1010
/// <summary>
11-
/// Table 导出 Excel 配置类
11+
/// Configuration class for exporting tables to Excel
1212
/// </summary>
1313
public class TableExportOptions
1414
{
1515
/// <summary>
16-
/// 获得/设置 是否使用格式化 默认 true 如果设置 <see cref="TableColumn{TItem, TType}.FormatString"/> 或者 <see cref="TableColumn{TItem, TType}.Formatter"/> 后使用格式化值
16+
/// Gets or sets whether to use formatting. Default is true.
17+
/// If <see cref="TableColumn{TItem, TType}.FormatString"/> or <see cref="TableColumn{TItem, TType}.Formatter"/> is set, the formatted value will be used.
1718
/// </summary>
18-
/// <remarks>注意格式化后返回值是 <code>string</code> 会导致原始值类型改变</remarks>
19+
/// <remarks>Note: After formatting, the returned value is a <code>string</code>, which may change the original value type.</remarks>
1920
public bool EnableFormat { get; set; } = true;
2021

2122
/// <summary>
22-
/// 获得/设置 是否使用 Lookup 默认 true
23+
/// Gets or sets whether to use Lookup. Default is true.
2324
/// </summary>
2425
public bool EnableLookup { get; set; } = true;
2526

2627
/// <summary>
27-
/// 获得/设置 是否将数组类型值进行合并操作 默认 true
28+
/// Gets or sets whether to merge array-type values. Default is true.
2829
/// </summary>
2930
public bool AutoMergeArray { get; set; } = true;
3031

3132
/// <summary>
32-
/// 获得/设置 是否使用枚举类型的 <see cref="DescriptionAttribute"/> 标签 默认 true
33+
/// Gets or sets whether to use the <see cref="DescriptionAttribute"/> tag for enum types. Default is true.
3334
/// </summary>
3435
public bool UseEnumDescription { get; set; } = true;
3536

3637
/// <summary>
37-
/// 获得/设置 数组类型合并操作时使用的分隔符 默认使用逗号
38+
/// Gets or sets the delimiter used when merging array-type values. Default is a comma.
3839
/// </summary>
39-
/// <remarks>注意格式化后返回值是 <code>string</code> 会导致原始值类型改变</remarks>
40+
/// <remarks>Note: After formatting, the returned value is a <code>string</code>, which may change the original value type.</remarks>
4041
public string ArrayDelimiter { get; set; } = ",";
4142

4243
/// <summary>
43-
/// 获得/设置 是否启用 Excel 自动筛选 默认 true
44+
/// Gets or sets whether to enable Excel auto-filtering. Default is true.
4445
/// </summary>
4546
public bool AutoFilter { get; set; } = true;
4647

4748
/// <summary>
48-
/// 获得/设置 是否启用 Excel 自动宽度 默认 false
49+
/// Gets or sets whether to enable Excel auto-width. Default is false.
4950
/// </summary>
5051
public bool EnableAutoWidth { get; set; }
5152
}

0 commit comments

Comments
 (0)