Inheritance
System.Object
MenuConfigurationContext
Implements
IServiceProviderAccessor
Assembly: Volo.Abp.UI.Navigation.dll
public class MenuConfigurationContext : object, IMenuConfigurationContext, IServiceProviderAccessor
Constructors
Declaration
public MenuConfigurationContext(ApplicationMenu menu, IServiceProvider serviceProvider)
Parameters
| Type |
Name |
Description |
| ApplicationMenu |
menu |
|
| IServiceProvider |
serviceProvider |
|
Properties
Declaration
public IAuthorizationService AuthorizationService { get; }
Property Value
| Type |
Description |
| IAuthorizationService |
|
Declaration
public ApplicationMenu Menu { get; }
Property Value
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
| Type |
Description |
| IServiceProvider |
|
Declaration
public IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
| Type |
Description |
| IStringLocalizerFactory |
|
Methods
Declaration
public IStringLocalizer GetDefaultLocalizer()
Returns
| Type |
Description |
| IStringLocalizer |
|
Declaration
public IStringLocalizer GetLocalizer(Type resourceType)
Parameters
| Type |
Name |
Description |
| Type |
resourceType |
|
Returns
| Type |
Description |
| IStringLocalizer |
|
Declaration
public IStringLocalizer GetLocalizer<T>()
Returns
| Type |
Description |
| IStringLocalizer |
|
Type Parameters
Declaration
public Task<bool> IsGrantedAsync(string policyName)
Parameters
| Type |
Name |
Description |
| System.String |
policyName |
|
Returns
| Type |
Description |
| Task<System.Boolean> |
|
Implements
IServiceProviderAccessor
Extension Methods