Class ToolbarConfigurationContext
Inheritance
ToolbarConfigurationContext
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.dll
Syntax
public class ToolbarConfigurationContext : IToolbarConfigurationContext, IServiceProviderAccessor
Constructors
ToolbarConfigurationContext(ITheme, Toolbar, IServiceProvider)
Declaration
public ToolbarConfigurationContext(ITheme currentTheme, Toolbar toolbar, IServiceProvider serviceProvider)
Parameters
Properties
AuthorizationService
Declaration
public IAuthorizationService AuthorizationService { get; }
Property Value
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
StringLocalizerFactory
Declaration
public IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Theme
Declaration
public ITheme Theme { get; }
Property Value
Toolbar
Declaration
public Toolbar Toolbar { get; }
Property Value
Methods
GetDefaultLocalizer()
Declaration
public IStringLocalizer? GetDefaultLocalizer()
Returns
GetLocalizer(Type)
Declaration
public IStringLocalizer GetLocalizer(Type resourceType)
Parameters
Type |
Name |
Description |
Type |
resourceType |
|
Returns
GetLocalizer<T>()
Declaration
public IStringLocalizer GetLocalizer<T>()
Returns
Type Parameters
IsGrantedAsync(string)
Declaration
public Task<bool> IsGrantedAsync(string policyName)
Parameters
Type |
Name |
Description |
string |
policyName |
|
Returns
Implements
Extension Methods