< Summary

Information
Class: Elsa.Tenants.Features.TenantManagementEndpointsFeature
Assembly: Elsa.Tenants
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Tenants/Features/TenantManagementEndpointsFeature.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 19
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
.ctor(...)100%210%
Configure()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Tenants/Features/TenantManagementEndpointsFeature.cs

#LineLine coverage
 1using Elsa.Extensions;
 2using Elsa.Features.Abstractions;
 3using Elsa.Features.Attributes;
 4using Elsa.Features.Services;
 5
 6namespace Elsa.Tenants.Features;
 7
 8/// <summary>
 9/// Enables tenant management endpoints.
 10/// </summary>
 11[DependsOn(typeof(TenantManagementFeature))]
 012public class TenantManagementEndpointsFeature(IModule serviceConfiguration) : FeatureBase(serviceConfiguration)
 13{
 14    /// <inheritdoc />
 15    public override void Configure()
 16    {
 017        Module.AddFastEndpointsAssembly<TenantManagementEndpointsFeature>();
 018    }
 19}