You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
363 B
22 lines
363 B
using System.Linq.Expressions;
|
|
|
|
namespace Connected.Expressions;
|
|
|
|
public enum OrderType
|
|
{
|
|
Ascending,
|
|
Descending
|
|
}
|
|
|
|
public sealed class OrderExpression
|
|
{
|
|
public OrderExpression(OrderType orderType, Expression expression)
|
|
{
|
|
OrderType = orderType;
|
|
Expression = expression;
|
|
}
|
|
|
|
public OrderType OrderType { get; }
|
|
public Expression Expression { get; }
|
|
}
|