< 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: 24
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 Elsa.Platform.PackageManifest.Generator.Hints;
 3using JetBrains.Annotations;
 4using Microsoft.Extensions.DependencyInjection;
 5
 6namespace Elsa.Tenants.ShellFeatures;
 7
 8/// <summary>
 9/// Enables tenant management endpoints.
 10/// </summary>
 11[ManifestFeatureCategory("Tenancy")]
 12[ManifestFeatureCategory("API")]
 13[ShellFeature(
 14    DisplayName = "Tenant Management Endpoints",
 15    Description = "Provides REST API endpoints for tenant management",
 16    DependsOn = [typeof(TenantManagementFeature)])]
 17[UsedImplicitly]
 18public class TenantManagementEndpointsFeature : IShellFeature
 19{
 20    public void ConfigureServices(IServiceCollection services)
 21    {
 22        // FastEndpoints are registered via assembly scanning
 023    }
 24}