mirror of https://github.com/abpframework/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.
25 lines
900 B
25 lines
900 B
using Volo.Abp.Authorization;
|
|
using Volo.Abp.Autofac;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.UI.Navigation
|
|
{
|
|
[DependsOn(typeof(AbpUiNavigationModule))]
|
|
[DependsOn(typeof(AbpAuthorizationModule))]
|
|
[DependsOn(typeof(AbpAutofacModule))]
|
|
public class AbpUiNavigationTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpNavigationOptions>(options =>
|
|
{
|
|
options.MenuContributors.Add(new MenuManager_Tests.TestMenuContributor1());
|
|
options.MenuContributors.Add(new MenuManager_Tests.TestMenuContributor2());
|
|
options.MenuContributors.Add(new MenuManager_Tests.TestMenuContributor3());
|
|
|
|
options.MainMenuNames.Add(MenuManager_Tests.TestMenuContributor3.MenuName);
|
|
});
|
|
}
|
|
}
|
|
}
|