< Summary

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

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.WorkflowProviders.BlobStorage.ElsaScript/Extensions/ModuleExtensions.cs

#LineLine coverage
 1using Elsa.Features.Services;
 2using Elsa.WorkflowProviders.BlobStorage.ElsaScript.Features;
 3
 4namespace Elsa.WorkflowProviders.BlobStorage.ElsaScript.Extensions;
 5
 6/// <summary>
 7/// Extensions for <see cref="IModule"/>.
 8/// </summary>
 9public static class ModuleExtensions
 10{
 11    /// <summary>
 12    /// Enables ElsaScript support for BlobStorage workflows.
 13    /// </summary>
 14    public static IModule UseElsaScriptBlobStorage(this IModule module, Action<ElsaScriptBlobStorageFeature>? configure 
 15    {
 116        module.Configure(configure);
 117        return module;
 18    }
 19}