Show / Hide Table of Contents

Class TenantServiceCollectionExtensions

This class contains service collection extensions for creating a tenant resolver.

Inheritance
System.Object
TenantServiceCollectionExtensions
Namespace: Talegen.AspNetCore.Multitenant
Assembly: Talegen.AspNetCore.Multitenant.dll
Syntax
public static class TenantServiceCollectionExtensions : object

Methods

| Improve this Doc View Source

AddMultiTenancy<TTenant>(IServiceCollection)

Adds the multi tenancy.

Declaration
public static TenantBuilder<TTenant> AddMultiTenancy<TTenant>(this IServiceCollection services)
    where TTenant : class, ITenant, new()
Parameters
Type Name Description
IServiceCollection services

The services.

Returns
Type Description
TenantBuilder<TTenant>

Returns the tenant builder.

Type Parameters
Name Description
TTenant

The type of the tenant.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright (c) Talegen, LLC. All rights reserved.