< Summary

Information
Class: Elsa.Workflows.IncidentStrategies.ContinueWithIncidentsStrategy
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/IncidentStrategies/ContinueWithIncidentsStrategy.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 19
Line coverage: 0%
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
HandleIncident(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/IncidentStrategies/ContinueWithIncidentsStrategy.cs

#LineLine coverage
 1using System.ComponentModel;
 2using JetBrains.Annotations;
 3
 4// ReSharper disable once CheckNamespace
 5namespace Elsa.Workflows.IncidentStrategies;
 6
 7/// <summary>
 8/// An incident strategy that allows the workflow to continue running, but with incidents.
 9/// </summary>
 10[PublicAPI]
 11[Description("An incident strategy that allows the workflow to continue running, but with incidents.")]
 12public class ContinueWithIncidentsStrategy : IIncidentStrategy
 13{
 14    /// <inheritdoc />
 15    public void HandleIncident(ActivityExecutionContext context)
 16    {
 17        // Do nothing.
 018    }
 19}