Class AppUrlProvider
Inheritance
System.Object
AppUrlProvider
Implements
ITransientDependency
Assembly: Volo.Abp.UI.Navigation.dll
Syntax
public class AppUrlProvider : object, IAppUrlProvider, ITransientDependency
Constructors
AppUrlProvider(IOptions<AppUrlOptions>, ICurrentTenant, ITenantStore)
Declaration
public AppUrlProvider(IOptions<AppUrlOptions> options, ICurrentTenant currentTenant, ITenantStore tenantStore)
Parameters
| Type |
Name |
Description |
| IOptions<AppUrlOptions> |
options |
|
| ICurrentTenant |
currentTenant |
|
| ITenantStore |
tenantStore |
|
Fields
TenantIdPlaceHolder
Declaration
public const string TenantIdPlaceHolder = null
Field Value
| Type |
Description |
| System.String |
|
TenantNamePlaceHolder
Declaration
public const string TenantNamePlaceHolder = null
Field Value
| Type |
Description |
| System.String |
|
Properties
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
| Type |
Description |
| ICurrentTenant |
|
Options
Declaration
protected AppUrlOptions Options { get; }
Property Value
TenantStore
Declaration
protected ITenantStore TenantStore { get; }
Property Value
| Type |
Description |
| ITenantStore |
|
Methods
Declaration
protected virtual Task<string> GetConfiguredUrl(string appName, string urlName)
Parameters
| Type |
Name |
Description |
| System.String |
appName |
|
| System.String |
urlName |
|
Returns
| Type |
Description |
| Task<System.String> |
|
GetUrlAsync(String, String)
Declaration
public virtual Task<string> GetUrlAsync(string appName, string urlName = null)
Parameters
| Type |
Name |
Description |
| System.String |
appName |
|
| System.String |
urlName |
|
Returns
| Type |
Description |
| Task<System.String> |
|
ReplacePlaceHoldersAsync(String)
Declaration
protected virtual Task<string> ReplacePlaceHoldersAsync(string url)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
Returns
| Type |
Description |
| Task<System.String> |
|
Implements
ITransientDependency
Extension Methods