< Summary

Information
Class: Elsa.Mediator.Models.Unit
Assembly: Elsa.Mediator
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Models/Unit.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 12
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
.cctor()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/Models/Unit.cs

#LineLine coverage
 1namespace Elsa.Mediator.Models;
 2
 3/// <summary>
 4/// Represents a void result.
 5/// </summary>
 6public record Unit
 7{
 8    /// <summary>
 9    /// Gets the singleton instance of <see cref="Unit"/>.
 10    /// </summary>
 111    public static readonly Unit Instance = new();
 12}

Methods/Properties

.cctor()