2 instantiations of SortedProperty
Microsoft.AspNetCore.Components.QuickGrid (2)
Columns\GridSort.cs (2)
121
new
SortedProperty
{ PropertyName = ToPropertyName(_firstExpression.Item1), Direction = (_firstExpression.Item2 ^ ascending) ? SortDirection.Descending : SortDirection.Ascending }
128
result.Add(new
SortedProperty
{ PropertyName = ToPropertyName(thenLambda), Direction = (thenAscending ^ ascending) ? SortDirection.Descending : SortDirection.Ascending });
7 references to SortedProperty
Microsoft.AspNetCore.Components.QuickGrid (7)
Columns\GridSort.cs (5)
23
private IReadOnlyCollection<
SortedProperty
>? _cachedPropertyListAscending;
24
private IReadOnlyCollection<
SortedProperty
>? _cachedPropertyListDescending;
103
internal IReadOnlyCollection<
SortedProperty
> ToPropertyList(bool ascending)
117
private List<
SortedProperty
> BuildPropertyList(bool ascending)
119
var result = new List<
SortedProperty
>
GridItemsProviderRequest.cs (2)
68
public IReadOnlyCollection<
SortedProperty
> GetSortByProperties() =>
69
SortByColumn?.SortBy?.ToPropertyList(SortByAscending) ?? Array.Empty<
SortedProperty
>();