< Summary

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

#LineLine coverage
 1using System.Linq.Expressions;
 2using Elsa.Common.Entities;
 3using Elsa.Workflows.Runtime.Entities;
 4
 5namespace Elsa.Workflows.Runtime.OrderDefinitions;
 6
 7public class StoredTriggerOrder<TProp> : OrderDefinition<StoredTrigger, TProp>
 8{
 09    public StoredTriggerOrder(Expression<Func<StoredTrigger, TProp>> keySelector, OrderDirection direction)
 10    {
 011        KeySelector = keySelector;
 012        Direction = direction;
 013    }
 14}