< Summary

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

File(s)

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

#LineLine coverage
 1using Elsa.Mediator.CommandStrategies;
 2
 3namespace Elsa.Mediator;
 4
 5/// <summary>
 6/// Provides a set of strategies for publishing events.
 7/// </summary>
 8public static class CommandStrategy
 9{
 10    /// <summary>
 11    /// Invokes command handlers in parallel and waits for the result.
 12    /// </summary>
 113    public static readonly DefaultStrategy Default = new();
 14
 15    /// <summary>
 16    /// Invokes command handlers in the background and does not wait for the result.
 17    /// </summary>
 118    public static readonly BackgroundStrategy Background = new();
 19}

Methods/Properties

.cctor()