using System.Linq.Expressions;
using Elsa.Common.Entities;
using Elsa.Workflows.Runtime.Entities;
using JetBrains.Annotations;
namespace Elsa.Workflows.Runtime.OrderDefinitions;
///
/// Represents the order by which to order the results of a query.
///
[UsedImplicitly]
public class BookmarkQueueItemOrder : OrderDefinition
{
public BookmarkQueueItemOrder(Expression> keySelector, OrderDirection direction)
{
KeySelector = keySelector;
Direction = direction;
}
}