< Summary

Information
Class: Elsa.Workflows.Runtime.Options.TriggerWorkflowsOptions
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Options/TriggerWorkflowsOptions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 7
Coverable lines: 7
Total lines: 16
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_CorrelationId()100%210%
get_WorkflowInstanceId()100%210%
get_ActivityInstanceId()100%210%
get_Input()100%210%
get_Properties()100%210%
get_TenantAgnostic()100%210%
get_CancellationToken()100%210%

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows.Runtime.Options;
 2
 3/// <summary>
 4/// Options for triggering workflows.
 5/// </summary>
 6[Obsolete("This type is obsolete. Use the new CreateClientAsync methods of IWorkflowRuntime instead.")]
 7public class TriggerWorkflowsOptions
 8{
 09    public string? CorrelationId { get; set; }
 010    public string? WorkflowInstanceId { get; set; }
 011    public string? ActivityInstanceId { get; set; }
 012    public IDictionary<string, object>? Input { get; set; }
 013    public IDictionary<string, object>? Properties { get; set; }
 014    public bool TenantAgnostic { get; set; }
 015    public CancellationToken CancellationToken { get; set; }
 16}