< Summary

Information
Class: Elsa.Workflows.Management.Filters.WorkflowInstanceOrder<T>
Assembly: Elsa.Workflows.Management
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Filters/WorkflowInstanceOrder.cs
Line coverage
50%
Covered lines: 2
Uncovered lines: 2
Coverable lines: 4
Total lines: 23
Line coverage: 50%
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%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Filters/WorkflowInstanceOrder.cs

#LineLine coverage
 1using System.Linq.Expressions;
 2using Elsa.Common.Entities;
 3using Elsa.Workflows.Management.Entities;
 4
 5namespace Elsa.Workflows.Management.Filters;
 6
 7/// <summary>
 8/// Represents the order by which to order the results of a query.
 9/// </summary>
 10public class WorkflowInstanceOrder<TProp> : OrderDefinition<WorkflowInstance, TProp>
 11{
 12    /// <inheritdoc />
 013    public WorkflowInstanceOrder()
 14    {
 015    }
 16
 17    /// <summary>
 18    /// Creates a new instance of the <see cref="WorkflowInstanceOrder{TProp}"/> class.
 19    /// </summary>
 1220    public WorkflowInstanceOrder(Expression<Func<WorkflowInstance, TProp>> keySelector, OrderDirection direction) : base
 21    {
 1222    }
 23}