C# Class Unosquare.TenantCore.TenantResolverBase

Base Tenant Resolver functionality with internal Tenant List
Afficher le fichier Open project: unosquare/tenantcore

Protected Properties

Свойство Type Description
Tenants List

Méthodes publiques

Méthode Description
Add ( ITenant tenant ) : void

Adds a new tenant to resolver

GetTenants ( ) : List

Retrieves the Tenants in the resolver

Méthodes protégées

Méthode Description
TenantResolverBase ( IEnumerable tenants, string databaseIdentifier = null ) : System.Collections.Generic

Instances a new resolver with a tenant list

TenantResolverBase ( string databaseIdentifier = null ) : System.Collections.Generic

Instances a new Resolver without tenants

Method Details

Add() public méthode

Adds a new tenant to resolver
public Add ( ITenant tenant ) : void
tenant ITenant The tenant instance
Résultat void

GetTenants() public méthode

Retrieves the Tenants in the resolver
public GetTenants ( ) : List
Résultat List

TenantResolverBase() protected méthode

Instances a new resolver with a tenant list
protected TenantResolverBase ( IEnumerable tenants, string databaseIdentifier = null ) : System.Collections.Generic
tenants IEnumerable The list of tenants
databaseIdentifier string The Database Identifier
Résultat System.Collections.Generic

TenantResolverBase() protected méthode

Instances a new Resolver without tenants
protected TenantResolverBase ( string databaseIdentifier = null ) : System.Collections.Generic
databaseIdentifier string The Database Identifier
Résultat System.Collections.Generic

Property Details

Tenants protected_oe property

The Tenants repository
protected List Tenants
Résultat List