< Summary

Information
Class: Elsa.Workflows.Models.Output
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/Output.cs
Line coverage
71%
Covered lines: 5
Uncovered lines: 2
Coverable lines: 7
Total lines: 38
Line coverage: 71.4%
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%
.ctor(...)100%11100%
.ctor(...)100%210%
get_Converter()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/Output.cs

#LineLine coverage
 1using Elsa.Expressions.Models;
 2
 3namespace Elsa.Workflows.Models;
 4
 5public class Output : Argument
 6{
 657    public Output() : base(new MemoryBlockReference())
 8    {
 659    }
 10
 460011    public Output(MemoryBlockReference memoryBlockReference) : base(memoryBlockReference)
 12    {
 460013    }
 14
 015    public Output(Func<MemoryBlockReference> memoryBlockReference) : base(memoryBlockReference)
 16    {
 017    }
 18
 19    /// <summary>
 20    /// Gets or sets the optional converter applied to the value delivered by this binding.
 21    /// </summary>
 66222    public OutputConverterConfiguration? Converter { get; set; }
 23}
 24
 25public class Output<T> : Output
 26{
 27    public Output()
 28    {
 29    }
 30
 31    public Output(MemoryBlockReference memoryBlockReference) : base(memoryBlockReference)
 32    {
 33    }
 34
 35    public Output(Func<MemoryBlockReference> memoryBlockReference) : base(memoryBlockReference)
 36    {
 37    }
 38}