< Summary

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

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Options/WorkflowHostOptions.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime.Options;
 2
 3/// <summary>
 4/// Represents the options for creating a workflow host.
 5/// </summary>
 6public class WorkflowHostOptions
 7{
 8    /// <summary>
 9    /// Gets or sets the ID of the workflow instance to use when creating the workflow host and its workflow state.
 10    /// </summary>
 011    public string? NewWorkflowInstanceId { get; set; }
 12}

Methods/Properties

get_NewWorkflowInstanceId()