Show / Hide Table of Contents

Class MenuConfigurationContext

Inheritance
object
MenuConfigurationContext
Implements
IMenuConfigurationContext
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.UI.Navigation
Assembly: Volo.Abp.UI.Navigation.dll
Syntax
public class MenuConfigurationContext : IMenuConfigurationContext, IServiceProviderAccessor

Constructors

MenuConfigurationContext(ApplicationMenu, IServiceProvider)

Declaration
public MenuConfigurationContext(ApplicationMenu menu, IServiceProvider serviceProvider)
Parameters
Type Name Description
ApplicationMenu menu
System.IServiceProvider serviceProvider

Properties

AuthorizationService

Declaration
public IAuthorizationService AuthorizationService { get; }
Property Value
Type Description
Microsoft.AspNetCore.Authorization.IAuthorizationService

Menu

Declaration
public ApplicationMenu Menu { get; }
Property Value
Type Description
ApplicationMenu

ServiceProvider

Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
Type Description
System.IServiceProvider

StringLocalizerFactory

Declaration
public IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type Description
Microsoft.Extensions.Localization.IStringLocalizerFactory

Methods

GetDefaultLocalizer()

Declaration
public IStringLocalizer? GetDefaultLocalizer()
Returns
Type Description
Microsoft.Extensions.Localization.IStringLocalizer

GetLocalizer(Type)

Declaration
public IStringLocalizer GetLocalizer(Type resourceType)
Parameters
Type Name Description
System.Type resourceType
Returns
Type Description
Microsoft.Extensions.Localization.IStringLocalizer

GetLocalizer<T>()

Declaration
public IStringLocalizer GetLocalizer<T>()
Returns
Type Description
Microsoft.Extensions.Localization.IStringLocalizer
Type Parameters
Name Description
T

IsGrantedAsync(string)

Declaration
public Task<bool> IsGrantedAsync(string policyName)
Parameters
Type Name Description
string policyName
Returns
Type Description
System.Threading.Tasks.Task<TResult><bool>

Implements

IMenuConfigurationContext
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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft