< Summary

Information
Class: Elsa.Workflows.Management.Services.DelegateHostMethodParameterValueProvider
Assembly: Elsa.Workflows.Management
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Services/DelegateHostMethodParameterValueProvider.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 11
Line coverage: 0%
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%210%
GetValueAsync(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Management/Services/DelegateHostMethodParameterValueProvider.cs

#LineLine coverage
 1namespace Elsa.Workflows.Management.Services;
 2
 3/// <summary>
 4/// Convenience implementation of <see cref="IHostMethodParameterValueProvider"/> that delegates to a user-provided func
 5/// </summary>
 06public class DelegateHostMethodParameterValueProvider(Func<HostMethodParameterValueProviderContext, ValueTask<HostMethod
 7    : IHostMethodParameterValueProvider
 8{
 09    public ValueTask<HostMethodParameterValueProviderResult> GetValueAsync(HostMethodParameterValueProviderContext conte
 10}
 11