Abp模块
abp
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.
 
 
 
 
 

24 lines
763 B

using Sanhe.Abp.MenuManagement.Identity;
using Volo.Abp.Identity;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement;
namespace Sanhe.Abp.MenuManagement
{
[DependsOn(
typeof(AbpIdentityDomainSharedModule),
typeof(AbpPermissionManagementDomainModule),
typeof(MenuManagementDomainModule)
)]
public class MenuManagementDomainIdentityModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<MenuManagementOptions>(options =>
{
options.ManagementProviders.Add<UserMenuManagementProvider>();
options.ManagementProviders.Add<RoleMenuManagementProvider>();
});
}
}
}