< Summary

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

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows.Runtime.Options;
 2
 3/// <summary>
 4/// Provides options to the workflow dispatcher.
 5/// </summary>
 6public class WorkflowDispatcherOptions
 7{
 8    /// <summary>
 9    /// A list of available channels to dispatch workflows to.
 10    /// </summary>
 11    /// <remarks>
 12    /// Channels are used to dispatch workflows to different queues or endpoints.
 13    /// </remarks>
 83414    public ICollection<DispatcherChannel> Channels { get; set; } = new List<DispatcherChannel>();
 15}

Methods/Properties

get_Channels()