Class FormTenantResolveContributor
Inheritance
object
FormTenantResolveContributor
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.MultiTenancy
Assembly: Volo.Abp.AspNetCore.MultiTenancy.dll
Syntax
[Obsolete("This may make some features of ASP NET Core unavailable, Will be removed in future versions.")]
public class FormTenantResolveContributor : HttpTenantResolveContributorBase, ITenantResolveContributor
Constructors
FormTenantResolveContributor()
Declaration
public FormTenantResolveContributor()
Fields
ContributorName
Declaration
public const string ContributorName = "Form"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Name
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetTenantIdOrNameFromHttpContextOrNullAsync(ITenantResolveContext, HttpContext)
Declaration
protected override Task<string> GetTenantIdOrNameFromHttpContextOrNullAsync(ITenantResolveContext context, HttpContext httpContext)
Parameters
| Type | Name | Description |
|---|---|---|
| ITenantResolveContext | context | |
| Microsoft.AspNetCore.Http.HttpContext | httpContext |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><string> |