2 writes to PropertyName
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 });
8 references to PropertyName
Microsoft.AspNetCore.Components.QuickGrid.Tests (8)
GridSortTest.cs (8)
39
Assert.Equal("Name", propertyList.First().
PropertyName
);
55
Assert.Equal("NullableDate", propertyList.First().
PropertyName
);
71
Assert.Equal("NullableInt", propertyList.First().
PropertyName
);
87
Assert.Equal("Child.ChildName", propertyList.First().
PropertyName
);
103
Assert.Equal("Child.ChildNullableDate", propertyList.First().
PropertyName
);
119
Assert.Equal("NullableDate", propertyList.First().
PropertyName
);
139
Assert.Equal("Name", firstProperty.
PropertyName
);
143
Assert.Equal("NullableDate", secondProperty.
PropertyName
);