mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-11 09:54:01 +08:00
23 lines
496 B
C#
23 lines
496 B
C#
using System;
|
|
using System.Linq;
|
|
|
|
namespace AntDesign.TableModels
|
|
{
|
|
public interface ITableSortModel : ICloneable
|
|
{
|
|
public string Sort { get; }
|
|
|
|
public int Priority { get; }
|
|
|
|
public string FieldName { get; }
|
|
|
|
public int ColumnIndex { get; }
|
|
|
|
internal SortDirection SortDirection { get; }
|
|
|
|
internal void SetSortDirection(SortDirection sortDirection);
|
|
|
|
internal IQueryable<TItem> SortList<TItem>(IQueryable<TItem> source);
|
|
}
|
|
}
|