Show / Hide Table of Contents

Class ToolbarConfigurationContext

Inheritance
object
ToolbarConfigurationContext
Implements
IToolbarConfigurationContext
IServiceProviderAccessor
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
IServiceProvider serviceProvider

Properties

AuthorizationService

Declaration
public IAuthorizationService AuthorizationService { get; }
Property Value
Type Description
IAuthorizationService

ServiceProvider

Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
Type Description
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
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
string policyName
Returns
Type Description
Task<bool>

Implements

IToolbarConfigurationContext
IServiceProviderAccessor

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform