< Summary

Information
Class: Elsa.Mediator.Contexts.CommandStrategyContext
Assembly: Elsa.Mediator
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Contexts/CommandStrategyContext.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 13
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_CommandContext()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Contexts/CommandStrategyContext.cs

#LineLine coverage
 1using Elsa.Mediator.Contracts;
 2using Elsa.Mediator.Middleware.Command;
 3
 4namespace Elsa.Mediator.Contexts;
 5
 6/// <summary>
 7/// Represents a context for executing a command.
 8/// </summary>
 9/// <param name="CommandContext">The command context to execute.</param>
 10/// <param name="Handler">The command handler.</param>
 11/// <param name="ServiceProvider">The service provider to resolve services from.</param>
 12/// <param name="CancellationToken">The cancellation token.</param>
 18713public record CommandStrategyContext(CommandContext CommandContext, ICommandHandler Handler, IServiceProvider ServicePro

Methods/Properties

get_CommandContext()