< Summary

Information
Class: Elsa.Workflows.Activities.Flowchart.Attributes.FlowNodeAttribute
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Attributes/FlowNodeAttribute.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 19
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
.ctor(...)100%11100%
get_Outcomes()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Attributes/FlowNodeAttribute.cs

#LineLine coverage
 1namespace Elsa.Workflows.Activities.Flowchart.Attributes;
 2
 3/// <summary>
 4/// Defines the outcomes of a flow node.
 5/// </summary>
 6[AttributeUsage(AttributeTargets.Class)]
 7public class FlowNodeAttribute : Attribute
 8{
 9    /// <inheritdoc />
 156410    public FlowNodeAttribute(params string[] outcomes)
 11    {
 156412        Outcomes = outcomes;
 156413    }
 14
 15    /// <summary>
 16    /// The outcomes of the flow node.
 17    /// </summary>
 75018    public ICollection<string> Outcomes { get; }
 19}