< Summary

Information
Class: Elsa.Workflows.Runtime.OrderDefinitions.WorkflowExecutionLogRecordOrder<T>
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/OrderDefinitions/WorkflowExecutionLogRecordOrder.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 20
Line coverage: 0%
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%

File(s)

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

#LineLine coverage
 1using System.Linq.Expressions;
 2using Elsa.Common.Entities;
 3using Elsa.Workflows.Runtime.Entities;
 4
 5namespace Elsa.Workflows.Runtime.OrderDefinitions;
 6
 7/// <summary>
 8/// Represents the order by which to order the results of a query.
 9/// </summary>
 10public class WorkflowExecutionLogRecordOrder<TProp> : OrderDefinition<WorkflowExecutionLogRecord, TProp>
 11{
 12    /// <summary>
 13    /// Creates a new instance of the <see cref="WorkflowExecutionLogRecordOrder{TProp}"/> class.
 14    /// </summary>
 015    public WorkflowExecutionLogRecordOrder(Expression<Func<WorkflowExecutionLogRecord, TProp>> keySelector, OrderDirecti
 16    {
 017        KeySelector = keySelector;
 018        Direction = direction;
 019    }
 20}