< Summary

Information
Class: Microsoft.AspNetCore.Builder.TenantResolutionMiddlewareExtensions
Assembly: Elsa.Tenants.AspNetCore
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Tenants.AspNetCore/Extensions/TenantResolutionMiddlewareExtensions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 15
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
UseTenants(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Tenants.AspNetCore/Extensions/TenantResolutionMiddlewareExtensions.cs

#LineLine coverage
 1using Elsa.Tenants.AspNetCore.Middleware;
 2using JetBrains.Annotations;
 3
 4// ReSharper disable once CheckNamespace
 5namespace Microsoft.AspNetCore.Builder;
 6
 7[UsedImplicitly]
 8public static class TenantResolutionMiddlewareExtensions
 9{
 10    /// <summary>
 11    /// Adds the tenant resolution middleware to the application pipeline.
 12    /// </summary>
 13    /// <param name="builder">The application builder.</param>
 014    public static IApplicationBuilder UseTenants(this IApplicationBuilder builder) => builder.UseMiddleware<TenantResolu
 15}