< Summary

Information
Class: Elsa.Tenants.ShellFeatures.TenantManagementEndpointsFeature
Assembly: Elsa.Tenants
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Tenants/ShellFeatures/TenantManagementEndpointsFeature.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 21
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.Tenants/ShellFeatures/TenantManagementEndpointsFeature.cs

#LineLine coverage
 1using CShells.Features;
 2using JetBrains.Annotations;
 3using Microsoft.Extensions.DependencyInjection;
 4
 5namespace Elsa.Tenants.ShellFeatures;
 6
 7/// <summary>
 8/// Enables tenant management endpoints.
 9/// </summary>
 10[ShellFeature(
 11    DisplayName = "Tenant Management Endpoints",
 12    Description = "Provides REST API endpoints for tenant management",
 13    DependsOn = ["TenantManagement"])]
 14[UsedImplicitly]
 15public class TenantManagementEndpointsFeature : IShellFeature
 16{
 17    public void ConfigureServices(IServiceCollection services)
 18    {
 19        // FastEndpoints are registered via assembly scanning
 020    }
 21}