< Summary

Information
Class: Elsa.Scheduling.ScheduleExistingWorkflowInstanceRequest
Assembly: Elsa.Scheduling
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Scheduling/Requests/ScheduleExistingWorkflowInstanceRequest.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 31
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_WorkflowInstanceId()100%11100%
get_BookmarkId()100%11100%
get_ActivityHandle()100%11100%
get_Properties()100%11100%
get_Input()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Scheduling/Requests/ScheduleExistingWorkflowInstanceRequest.cs

#LineLine coverage
 1using Elsa.Workflows.Models;
 2
 3namespace Elsa.Scheduling;
 4
 5public class ScheduleExistingWorkflowInstanceRequest
 6{
 7    /// <summary>
 8    /// The ID of the workflow instance.
 9    /// </summary>
 2910    public string WorkflowInstanceId { get; set; } = null!;
 11
 12    /// <summary>
 13    /// The ID of the bookmark that triggered the workflow instance, if any.
 14    /// </summary>
 2915    public string? BookmarkId { get; set; }
 16
 17    /// <summary>
 18    /// The handle of the activity to schedule, if any.
 19    /// </summary>
 1120    public ActivityHandle? ActivityHandle { get; set; }
 21
 22    /// <summary>
 23    /// Any additional properties to associate with the workflow instance.
 24    /// </summary>
 1125    public IDictionary<string, object>? Properties { get; set; }
 26
 27    /// <summary>
 28    /// The input to the workflow instance, if any.
 29    /// </summary>
 1130    public IDictionary<string, object>? Input { get; set; }
 31}