< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.Graph.Segments.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Graph/Segments/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 19
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_Id()100%210%
get_ChildNodeId()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Graph/Segments/Models.cs

#LineLine coverage
 1using Elsa.Workflows.Api.Models;
 2using Elsa.Workflows.Models;
 3
 4namespace Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.Graph.Segments;
 5
 6internal class Request
 7{
 8    /// <summary>
 9    /// The workflow definition version ID.
 10    /// </summary>
 011    public string Id { get; set; } = default!;
 12
 13    /// <summary>
 14    /// The ID of the child node to get segments for.
 15    /// </summary>
 016    public string ChildNodeId { get; set; } = default!;
 17}
 18
 19internal record Response(ActivityNode ChildNode, ActivityNode Container, ICollection<ActivityPathSegment> PathSegments);

Methods/Properties

get_Id()
get_ChildNodeId()