< Summary

Information
Class: Elsa.Api.Client.Resources.WorkflowDefinitions.Models.WorkflowCommitStateOptions
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/WorkflowDefinitions/Models/WorkflowCommitStateOptions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
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
get_Starting()100%210%
get_ActivityExecuting()100%210%
get_ActivityExecuted()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/WorkflowDefinitions/Models/WorkflowCommitStateOptions.cs

#LineLine coverage
 1namespace Elsa.Api.Client.Resources.WorkflowDefinitions.Models;
 2
 3public class WorkflowCommitStateOptions
 4{
 5    /// <summary>
 6    /// Commit workflow state before the workflow starts.
 7    /// </summary>
 08    public bool Starting { get; set; }
 9
 10    /// <summary>
 11    /// Commit workflow state before an activity executes, unless the activity is configured to not commit state.
 12    /// </summary>
 013    public bool ActivityExecuting { get; set; }
 14
 15    /// <summary>
 16    /// Commit workflow state after an activity executes, unless the activity is configured to not commit state.
 17    /// </summary>
 018    public bool ActivityExecuted { get; set; }
 19}