< Summary

Information
Class: Elsa.Scheduling.TaskExecutionContext
Assembly: Elsa.Scheduling
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Scheduling/Models/TaskExecutionContext.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 8
Line coverage: 100%
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_ServiceProvider()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Scheduling/Models/TaskExecutionContext.cs

#LineLine coverage
 1namespace Elsa.Scheduling;
 2
 3/// <summary>
 4/// Represents a task execution context.
 5/// </summary>
 6/// <param name="ServiceProvider">The service provider.</param>
 7/// <param name="CancellationToken">The cancellation token.</param>
 448public record TaskExecutionContext(IServiceProvider ServiceProvider, CancellationToken CancellationToken);

Methods/Properties

get_ServiceProvider()