< Summary

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

#LineLine coverage
 1using System.Linq.Expressions;
 2using Elsa.Common.Entities;
 3using Elsa.Workflows.Management.Entities;
 4using JetBrains.Annotations;
 5
 6namespace Elsa.Workflows.Management.Filters;
 7
 8/// <summary>
 9/// Represents the order by which to order the results of a query.
 10/// </summary>
 11[PublicAPI]
 12public class WorkflowDefinitionOrder<TProp> : OrderDefinition<WorkflowDefinition, TProp>
 13{
 14    /// <inheritdoc />
 015    public WorkflowDefinitionOrder()
 16    {
 017    }
 18
 19    /// <summary>
 20    /// Creates a new instance of the <see cref="WorkflowDefinitionOrder{TProp}"/> class.
 21    /// </summary>
 224622    public WorkflowDefinitionOrder(Expression<Func<WorkflowDefinition, TProp>> keySelector, OrderDirection direction) : 
 23    {
 224624    }
 25}