< Summary

Information
Class: Elsa.Workflows.Runtime.Bookmarks.BulkDispatchWorkflowsBookmark
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Bookmarks/BulkDispatchWorkflowBookmark.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
.ctor(...)100%210%
get_ParentInstanceId()100%210%
get_ScheduledInstanceIdsCount()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Bookmarks/BulkDispatchWorkflowBookmark.cs

#LineLine coverage
 1using Elsa.Common;
 2using Elsa.Workflows.Attributes;
 3using Elsa.Workflows.Runtime.Activities;
 4using Elsa.Workflows.Runtime.Stimuli;
 5
 6namespace Elsa.Workflows.Runtime.Bookmarks;
 7
 8/// <summary>
 9/// Bookmark payload for the <see cref="BulkDispatchWorkflows"/> activity.
 10/// </summary>
 11[Obsolete("Use BulkDispatchWorkflowsStimulus instead.")]
 12[ForwardedType(typeof(BulkDispatchWorkflowsStimulus))]
 013public class BulkDispatchWorkflowsBookmark(string parentInstanceId)
 14{
 15    /// <summary>
 16    /// The ID of the parent workflow instance that is waiting for child workflows to complete.
 17    /// </summary>
 018    public string ParentInstanceId { get; init; } = parentInstanceId;
 19
 20    /// <summary>The number of child workflows that were created by the <see cref="BulkDispatchWorkflows"/> activity.</s
 021    [ExcludeFromHash] public long ScheduledInstanceIdsCount { get; set; }
 22
 23}