< Summary

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

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Options/IncidentOptions.cs

#LineLine coverage
 1namespace Elsa.Workflows.Options;
 2
 3/// <summary>
 4/// Options for configuring how incidents are handled.
 5/// </summary>
 6public class IncidentOptions
 7{
 8    /// <summary>
 9    /// Gets or sets the default incident strategy to use when no strategy is configured on the workflow.
 10    /// </summary>
 811    public Type? DefaultIncidentStrategy { get; set; }
 12}

Methods/Properties

get_DefaultIncidentStrategy()