< Summary

Information
Class: Elsa.Workflows.UIHints.CheckList.CheckListUIHintHandler
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/UIHints/CheckList/CheckListUIHintHandler.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 16
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
get_UIHint()100%11100%
GetPropertyUIHandlersAsync(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/UIHints/CheckList/CheckListUIHintHandler.cs

#LineLine coverage
 1using System.Reflection;
 2
 3namespace Elsa.Workflows.UIHints.CheckList;
 4
 5/// <inheritdoc />
 6public class CheckListUIHintHandler : IUIHintHandler
 7{
 8    /// <inheritdoc />
 132439    public string UIHint => InputUIHints.CheckList;
 10
 11    /// <inheritdoc />
 12    public ValueTask<IEnumerable<Type>> GetPropertyUIHandlersAsync(PropertyInfo propertyInfo, CancellationToken cancella
 13    {
 2214        return new([typeof(StaticCheckListOptionsProvider)]);
 15    }
 16}