< Summary

Information
Class: Elsa.Workflows.Models.Output<T>
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Models/Output.cs
Line coverage
66%
Covered lines: 4
Uncovered lines: 2
Coverable lines: 6
Total lines: 38
Line coverage: 66.6%
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%

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{
 7    public Output() : base(new MemoryBlockReference())
 8    {
 9    }
 10
 11    public Output(MemoryBlockReference memoryBlockReference) : base(memoryBlockReference)
 12    {
 13    }
 14
 15    public Output(Func<MemoryBlockReference> memoryBlockReference) : base(memoryBlockReference)
 16    {
 17    }
 18
 19    /// <summary>
 20    /// Gets or sets the optional converter applied to the value delivered by this binding.
 21    /// </summary>
 22    public OutputConverterConfiguration? Converter { get; set; }
 23}
 24
 25public class Output<T> : Output
 26{
 6527    public Output()
 28    {
 6529    }
 30
 460031    public Output(MemoryBlockReference memoryBlockReference) : base(memoryBlockReference)
 32    {
 460033    }
 34
 035    public Output(Func<MemoryBlockReference> memoryBlockReference) : base(memoryBlockReference)
 36    {
 037    }
 38}