Show / Hide Table of Contents

Class ToolbarConfigurationContext

Inheritance
System.Object
ToolbarConfigurationContext
Implements
IToolbarConfigurationContext
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()
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Toolbars
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
Type Description
ITheme

Toolbar

Declaration
public Toolbar Toolbar { get; }
Property Value
Type Description
Toolbar

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
Name Description
T

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

IToolbarConfigurationContext
IServiceProviderAccessor

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft