< Summary

Information
Class: Elsa.Workflows.Runtime.Stimuli.BulkDispatchWorkflowsStimulus
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Stimuli/BulkDispatchWorkflowsStimulus.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 19
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
.ctor(...)100%11100%
get_ParentInstanceId()100%11100%
get_ScheduledInstanceIdsCount()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Stimuli/BulkDispatchWorkflowsStimulus.cs

#LineLine coverage
 1using Elsa.Workflows.Attributes;
 2using Elsa.Workflows.Runtime.Activities;
 3
 4namespace Elsa.Workflows.Runtime.Stimuli;
 5
 6/// <summary>
 7/// Bookmark payload for the <see cref="BulkDispatchWorkflows"/> activity.
 8/// </summary>
 559public class BulkDispatchWorkflowsStimulus(string parentInstanceId)
 10{
 11    /// <summary>
 12    /// The ID of the parent workflow instance that is waiting for child workflows to complete.
 13    /// </summary>
 9814    public string ParentInstanceId { get; init; } = parentInstanceId;
 15
 16    /// <summary>The number of child workflows that were created by the <see cref="BulkDispatchWorkflows"/> activity.</s
 5217    [ExcludeFromHash] public long ScheduledInstanceIdsCount { get; set; }
 18
 19}