mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
734 B
28 lines
734 B
using System;
|
|
using System.Threading.Tasks;
|
|
using JetBrains.Annotations;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.Extensions.Localization;
|
|
using Volo.Abp.DependencyInjection;
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.Web.Theming.Toolbars;
|
|
|
|
public interface IToolbarConfigurationContext : IServiceProviderAccessor
|
|
{
|
|
Toolbar Toolbar { get; }
|
|
|
|
IAuthorizationService AuthorizationService { get; }
|
|
|
|
IStringLocalizerFactory StringLocalizerFactory { get; }
|
|
|
|
Task<bool> IsGrantedAsync(string policyName);
|
|
|
|
[CanBeNull]
|
|
IStringLocalizer GetDefaultLocalizer();
|
|
|
|
[NotNull]
|
|
public IStringLocalizer GetLocalizer<T>();
|
|
|
|
[NotNull]
|
|
public IStringLocalizer GetLocalizer(Type resourceType);
|
|
}
|
|
|