Class DevelopmentTenantIdResolver
- Namespace
- Cratis.Arc.Tenancy
- Assembly
- Cratis.Arc.Core.dll
Represents an implementation of ITenantIdResolver that resolves to a fixed tenant ID for development purposes.
[IgnoreConvention]
public class DevelopmentTenantIdResolver : FixedTenantIdResolver, ITenantIdResolver
- Inheritance
-
DevelopmentTenantIdResolver
- Implements
- Inherited Members
- Extension Methods
Remarks
This is FixedTenantIdResolver under its original name and resolves the same configured tenant ID. The resolver never consulted the hosting environment, so prefer FixedTenantIdResolver and Fixed when the fixed tenant is a deployment level constant rather than a development convenience.
Constructors
DevelopmentTenantIdResolver(IOptions<ArcOptions>)
Represents an implementation of ITenantIdResolver that resolves to a fixed tenant ID for development purposes.
public DevelopmentTenantIdResolver(IOptions<ArcOptions> options)
Parameters
optionsIOptions<ArcOptions>The IOptions<TOptions>.
Remarks
This is FixedTenantIdResolver under its original name and resolves the same configured tenant ID. The resolver never consulted the hosting environment, so prefer FixedTenantIdResolver and Fixed when the fixed tenant is a deployment level constant rather than a development convenience.