C# Class Unosquare.TenantCore.TenantResolverBase

Base Tenant Resolver functionality with internal Tenant List
Datei anzeigen Open project: unosquare/tenantcore

Protected Properties

Property Type Description
Tenants List

Public Methods

Method Description
Add ( ITenant tenant ) : void

Adds a new tenant to resolver

GetTenants ( ) : List

Retrieves the Tenants in the resolver

Protected Methods

Method 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 method

Adds a new tenant to resolver
public Add ( ITenant tenant ) : void
tenant ITenant The tenant instance
return void

GetTenants() public method

Retrieves the Tenants in the resolver
public GetTenants ( ) : List
return List

TenantResolverBase() protected method

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
return System.Collections.Generic

TenantResolverBase() protected method

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

Property Details

Tenants protected_oe property

The Tenants repository
protected List Tenants
return List