< Summary

Information
Class: Elsa.Workflows.Runtime.Requests.CountRunningWorkflowsRequest
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Requests/CountRunningWorkflowsRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 23
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_DefinitionId()100%210%
get_Version()100%210%
get_CorrelationId()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Requests/CountRunningWorkflowsRequest.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime.Requests;
 2
 3/// <summary>
 4/// Contains arguments to use for counting the number of workflow instances.
 5/// </summary>
 6[Obsolete("This type is obsolete. Use the new CreateClientAsync methods of IWorkflowRuntime instead.")]
 7public class CountRunningWorkflowsRequest
 8{
 9    /// <summary>
 10    /// The workflow definition ID to include in the query.
 11    /// </summary>
 012    public string? DefinitionId { get; set; }
 13
 14    /// <summary>
 15    /// The workflow definition version to include in the query.
 16    /// </summary>
 017    public int? Version { get; set; }
 18
 19    /// <summary>
 20    /// The correlation ID to include in the query.
 21    /// </summary>
 022    public string? CorrelationId { get; set; }
 23}