Class ToolbarConfigurationContext
Inheritance
System.Object
ToolbarConfigurationContext
Implements
IServiceProviderAccessor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
Type |
Name |
Description |
ITheme |
currentTheme |
|
Toolbar |
toolbar |
|
System.IServiceProvider |
serviceProvider |
|
Properties
AuthorizationService
Declaration
public IAuthorizationService AuthorizationService { get; }
Property Value
Type |
Description |
IAuthorizationService |
|
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
Type |
Description |
System.IServiceProvider |
|
StringLocalizerFactory
Declaration
public IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type |
Description |
IStringLocalizerFactory |
|
Theme
Declaration
public ITheme Theme { get; }
Property Value
Toolbar
Declaration
public Toolbar Toolbar { get; }
Property Value
Methods
GetDefaultLocalizer()
Declaration
public IStringLocalizer GetDefaultLocalizer()
Returns
Type |
Description |
IStringLocalizer |
|
GetLocalizer(Type)
Declaration
public IStringLocalizer GetLocalizer(Type resourceType)
Parameters
Type |
Name |
Description |
System.Type |
resourceType |
|
Returns
Type |
Description |
IStringLocalizer |
|
GetLocalizer<T>()
Declaration
public IStringLocalizer GetLocalizer<T>()
Returns
Type |
Description |
IStringLocalizer |
|
Type Parameters
IsGrantedAsync(String)
Declaration
public Task<bool> IsGrantedAsync(string policyName)
Parameters
Type |
Name |
Description |
System.String |
policyName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
Implements
IServiceProviderAccessor
Extension Methods