< Summary

Information
Class: Elsa.Extensions.ModuleExtensions
Assembly: Elsa.SasTokens
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.SasTokens/Extensions/ModuleExtensions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 20
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
UseSasTokens(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.SasTokens/Extensions/ModuleExtensions.cs

#LineLine coverage
 1using Elsa.Features.Services;
 2using Elsa.SasTokens.Features;
 3
 4// ReSharper disable once CheckNamespace
 5namespace Elsa.Extensions;
 6
 7/// <summary>
 8/// Provides extensions to install the <see cref="SasTokens"/> feature.
 9/// </summary>
 10public static class ModuleExtensions
 11{
 12    /// <summary>
 13    /// Install the <see cref="SasTokens"/> feature.
 14    /// </summary>
 15    public static IModule UseSasTokens(this IModule module, Action<SasTokensFeature>? configure = default)
 16    {
 017        module.Configure(configure);
 018        return module;
 19    }
 20}