< Summary

Information
Class: Elsa.Workflows.Runtime.WorkflowActivationStrategyEvaluationContext
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Contexts/WorkflowActivationStrategyEvaluationContext.cs
Line coverage
66%
Covered lines: 2
Uncovered lines: 1
Coverable lines: 3
Total lines: 10
Line coverage: 66.6%
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
get_Workflow()100%11100%
get_CorrelationId()100%11100%
get_CancellationToken()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Contexts/WorkflowActivationStrategyEvaluationContext.cs

#LineLine coverage
 1using Elsa.Workflows.Activities;
 2
 3namespace Elsa.Workflows.Runtime;
 4
 5public class WorkflowActivationStrategyEvaluationContext
 6{
 327    public Workflow Workflow { get; set; } = default!;
 168    public string? CorrelationId { get; set; }
 09    public CancellationToken CancellationToken { get; set; }
 10}