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.
Connected.Framework/Connected.Expressions/Expressions/OrderExpression.cs

22 lines
363 B

2 years ago
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; }
}