mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
24 lines
491 B
C#
24 lines
491 B
C#
|
using System.Linq;
|
|||
|
|
|||
|
namespace AntDesign.TableModels
|
|||
|
{
|
|||
|
public interface ITableSortModel
|
|||
|
{
|
|||
|
public SortType SortType { get; }
|
|||
|
|
|||
|
public int Priority { get; }
|
|||
|
|
|||
|
public string FieldName { get; }
|
|||
|
|
|||
|
IOrderedQueryable<TItem> Sort<TItem>(IQueryable<TItem> source);
|
|||
|
|
|||
|
internal void SetSortType(SortType sortType);
|
|||
|
|
|||
|
internal void SetSortType(string sortType);
|
|||
|
|
|||
|
internal void SwitchSortType();
|
|||
|
|
|||
|
internal SortType NextType();
|
|||
|
}
|
|||
|
}
|