Skip to content

Commit 52369d1

Browse files
authored
feat(QueryPageOptions): remove obsolete parameters (#7794)
* doc: 更新用法文档 * doc: 增加提示信息 * refactor: 移除已弃用参数
1 parent 8b00dd1 commit 52369d1

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

src/BootstrapBlazor/Options/QueryPageOptions.cs

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -81,42 +81,18 @@ public class QueryPageOptions
8181
/// </summary>
8282
public bool IsVirtualScroll { get; set; }
8383

84-
/// <summary>
85-
/// <para lang="zh">获得 通过列集合中的 <see cref="ITableColumn.Searchable"/> 列与 <see cref="SearchText"/> 拼装 IFilterAction 集合</para>
86-
/// <para lang="en">Get IFilterAction collection assembled by <see cref="ITableColumn.Searchable"/> columns in column collection and <see cref="SearchText"/></para>
87-
/// </summary>
88-
[Obsolete("This property is obsolete. Use Searches instead. 已过期,请使用 Searches 参数")]
89-
[ExcludeFromCodeCoverage]
90-
public List<IFilterAction> Searchs => Searches;
91-
9284
/// <summary>
9385
/// <para lang="zh">获得 通过列集合中的 <see cref="ITableColumn.Searchable"/> 列与 <see cref="SearchText"/> 拼装 IFilterAction 集合</para>
9486
/// <para lang="en">Get IFilterAction collection assembled by <see cref="ITableColumn.Searchable"/> columns in column collection and <see cref="SearchText"/></para>
9587
/// </summary>
9688
public List<IFilterAction> Searches { get; } = new(20);
9789

98-
/// <summary>
99-
/// <para lang="zh">获得 <see cref="Table{TItem}.CustomerSearchModel"/> 中过滤条件 <see cref="Table{TItem}.SearchTemplate"/> 模板中的条件请使用 <see cref="AdvanceSearches" />获得</para>
100-
/// <para lang="en">Gets <see cref="Table{TItem}.CustomerSearchModel"/> 中过滤条件 <see cref="Table{TItem}.SearchTemplate"/> template中的条件请使用 <see cref="AdvanceSearches" />Gets</para>
101-
/// </summary>
102-
[Obsolete("This property is obsolete. Use CustomerSearches instead. 已过期,请使用 CustomerSearches 参数")]
103-
[ExcludeFromCodeCoverage]
104-
public List<IFilterAction> CustomerSearchs => CustomerSearches;
105-
10690
/// <summary>
10791
/// <para lang="zh">获得 <see cref="Table{TItem}.CustomerSearchModel"/> 中过滤条件 <see cref="Table{TItem}.SearchTemplate"/> 模板中的条件请使用 <see cref="AdvanceSearches" />获得</para>
10892
/// <para lang="en">Get filter conditions in <see cref="Table{TItem}.CustomerSearchModel"/> please use <see cref="AdvanceSearches" /> to get conditions in <see cref="Table{TItem}.SearchTemplate"/> template</para>
10993
/// </summary>
11094
public List<IFilterAction> CustomerSearches { get; } = new(20);
11195

112-
/// <summary>
113-
/// <para lang="zh">获得 <see cref="Table{TItem}.SearchModel"/> 中过滤条件</para>
114-
/// <para lang="en">Get filter conditions in <see cref="Table{TItem}.SearchModel"/></para>
115-
/// </summary>
116-
[Obsolete("This property is obsolete. Use AdvanceSearches instead. 已过期,请使用 AdvanceSearches 参数")]
117-
[ExcludeFromCodeCoverage]
118-
public List<IFilterAction> AdvanceSearchs => AdvanceSearches;
119-
12096
/// <summary>
12197
/// <para lang="zh">获得 <see cref="Table{TItem}.SearchModel"/> 中过滤条件</para>
12298
/// <para lang="en">Get filter conditions in <see cref="Table{TItem}.SearchModel"/></para>
@@ -129,15 +105,6 @@ public class QueryPageOptions
129105
/// </summary>
130106
public List<IFilterAction> Filters { get; } = new(20);
131107

132-
/// <summary>
133-
/// <para lang="zh">获得 是否为首次查询 默认 false</para>
134-
/// <para lang="en">Get whether is first query default false</para>
135-
/// </summary>
136-
/// <remarks><see cref="Table{TItem}"/> 组件首次查询数据时为 true</remarks>
137-
[Obsolete("This property is obsolete. Use IsFirstQuery. 已弃用单词拼写错误,请使用 IsFirstQuery")]
138-
[ExcludeFromCodeCoverage]
139-
public bool IsFristQuery { get => IsFirstQuery; set => IsFirstQuery = value; }
140-
141108
/// <summary>
142109
/// <para lang="zh">获得 是否为首次查询 默认 false</para>
143110
/// <para lang="en">Get whether is first query default false</para>

0 commit comments

Comments
 (0)