< Summary

Information
Class: Elsa.Scheduling.ScheduleContext
Assembly: Elsa.Scheduling
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Scheduling/Models/ScheduleContext.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/ScheduleContext.cs

#LineLine coverage
 1namespace Elsa.Scheduling;
 2
 3/// <summary>
 4/// The context for scheduling a task.
 5/// </summary>
 6/// <param name="ServiceProvider">The service provider.</param>
 7/// <param name="Task">The task to schedule.</param>
 638public record ScheduleContext(IServiceProvider ServiceProvider, ITask Task);

Methods/Properties

get_ServiceProvider()