< Summary

Information
Class: Elsa.Workflows.Runtime.OrderDefinitions.BookmarkQueueItemOrder<T>
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/OrderDefinitions/BookmarkQueueItemOrder.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 19
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/OrderDefinitions/BookmarkQueueItemOrder.cs

#LineLine coverage
 1using System.Linq.Expressions;
 2using Elsa.Common.Entities;
 3using Elsa.Workflows.Runtime.Entities;
 4using JetBrains.Annotations;
 5
 6namespace Elsa.Workflows.Runtime.OrderDefinitions;
 7
 8/// <summary>
 9/// Represents the order by which to order the results of a query.
 10/// </summary>
 11[UsedImplicitly]
 12public class BookmarkQueueItemOrder<TProp> : OrderDefinition<BookmarkQueueItem, TProp>
 13{
 4414    public BookmarkQueueItemOrder(Expression<Func<BookmarkQueueItem, TProp>> keySelector, OrderDirection direction)
 15    {
 4416        KeySelector = keySelector;
 4417        Direction = direction;
 4418    }
 19}