< Summary

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

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.WorkflowProviders.BlobStorage.ElsaScript/ShellFeatures/ElsaScriptBlobStorageFeature.cs

#LineLine coverage
 1using CShells.Features;
 2using Elsa.WorkflowProviders.BlobStorage.Contracts;
 3using Elsa.WorkflowProviders.BlobStorage.ElsaScript.Handlers;
 4using JetBrains.Annotations;
 5using Microsoft.Extensions.DependencyInjection;
 6
 7namespace Elsa.WorkflowProviders.BlobStorage.ElsaScript.ShellFeatures;
 8
 9/// <summary>
 10/// A feature that enables ElsaScript support for the BlobStorage workflow provider.
 11/// </summary>
 12[ShellFeature(
 13    DisplayName = "ElsaScript Blob Storage",
 14    Description = "Provides ElsaScript format support for the BlobStorage workflow provider",
 15    DependsOn = ["BlobStorage", "ElsaScript"])]
 16[UsedImplicitly]
 17public class ElsaScriptBlobStorageFeature : IShellFeature
 18{
 19    public void ConfigureServices(IServiceCollection services)
 20    {
 21        // Register the ElsaScript format handler
 022        services.AddScoped<IBlobWorkflowFormatHandler, ElsaScriptBlobWorkflowFormatHandler>();
 023    }
 24}
 25