< Summary

Information
Class: Elsa.Workflows.Runtime.EventTokenPayload
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Models/EventTokenPayload.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 8
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_EventName()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Models/EventTokenPayload.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime;
 2
 3/// <summary>
 4/// Represents the payload of an event, serialized as a secured token.
 5/// </summary>
 6/// <param name="EventName">The name of the event.</param>
 7/// <param name="WorkflowInstanceId">The ID of the workflow instance to trigger with the event.</param>
 08public record EventTokenPayload(string EventName, string WorkflowInstanceId);

Methods/Properties

get_EventName()