C# Class Bah.Core.Site.Multitenancy.RouteDataItemTenantIdentificationStrategy

Inheritance: ITenantIdentificationStrategy
Afficher le fichier Open project: mppa-git/aspnet4-multitenant-framework Class Usage Examples

Méthodes publiques

Méthode Description
RouteDataItemTenantIdentificationStrategy ( string parameterName ) : System

Create a new RouteDataItemTenantIdentificationStrategy for the specified parameter name.

TryIdentifyTenant ( object &tenantId ) : bool

Attempts to identify the tenant from the route data parameters.

Method Details

RouteDataItemTenantIdentificationStrategy() public méthode

Create a new RouteDataItemTenantIdentificationStrategy for the specified parameter name.
/// Thrown if is . /// /// Thrown if is empty. ///
public RouteDataItemTenantIdentificationStrategy ( string parameterName ) : System
parameterName string /// The request parameter name that holds the tenant identifier. ///
Résultat System

TryIdentifyTenant() public méthode

Attempts to identify the tenant from the route data parameters.
public TryIdentifyTenant ( object &tenantId ) : bool
tenantId object The current tenant identifier.
Résultat bool