< Summary

Information
Class: Elsa.Tenants.Options.TenantsOptions
Assembly: Elsa.Tenants
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Tenants/Options/TenantsOptions.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
get_Tenants()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Tenants/Options/TenantsOptions.cs

#LineLine coverage
 1using Elsa.Common.Multitenancy;
 2using Elsa.Tenants.Providers;
 3
 4namespace Elsa.Tenants.Options;
 5
 6/// <summary>
 7/// Options for configuring the Tenants.
 8/// </summary>
 9public class TenantsOptions
 10{
 11    /// <summary>
 12    /// Gets or sets the tenants through configuration. Will be used by the <see cref="ConfigurationTenantsProvider"/>
 13    /// </summary>
 014    public ICollection<Tenant> Tenants { get; set; } = new List<Tenant>();
 15}

Methods/Properties

get_Tenants()