The AddColumnsStream, SortStream, and requisite yacc/lex grammar were originally added to a new branch, off of development, which is on net8. I forgot to change it to net7 when I cherry-picked the commits for the regular development branch. It's wasn't quite as simple as flipping net8 -> net7 in csproj files, because I was eager to use new language features only available in net8! Namely, primary constructors and collection expressions.
12 lines
286 B
C#
12 lines
286 B
C#
namespace Bts.ColumnSortExpressions;
|
|
|
|
public class ColumnSortExpression {
|
|
public ColumnSortExpression(string name, bool isAscending = true) {
|
|
Name = name;
|
|
IsAscending = isAscending;
|
|
}
|
|
|
|
public string Name { get; }
|
|
public bool IsAscending { get; }
|
|
}
|