< Summary

Information
Class: Elsa.Api.Client.Shared.Models.ActivityPathSegment
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/Models/ActivityPathSegment.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 13
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_ActivityNodeId()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/Models/ActivityPathSegment.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Api.Client.Shared.Models;
 4
 5/// <summary>
 6/// Represents a path segment in a workflow. For example, the following is a list of segments: ForEach:Body -> Container
 7/// </summary>
 8/// <param name="ActivityNodeId">The node ID of the activity in the graph.</param>
 9/// <param name="ActivityId">The ID of the activity.</param>
 10/// <param name="ActivityType">The type of the activity.</param>
 11/// <param name="PortName">The name of the port.</param>
 12[UsedImplicitly]
 013public record ActivityPathSegment(string ActivityNodeId, string ActivityId, string ActivityType, string PortName);

Methods/Properties

get_ActivityNodeId()